aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sccvn.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2021-02-03 04:44:41 -0800
committerNathan Sidwell <nathan@acm.org>2021-02-08 09:24:39 -0800
commitefcd941e86b507d77e90a1b13f621e036eacdb45 (patch)
treed71e89481b7c698f8f637cce70e001db66e173cd /gcc/tree-ssa-sccvn.c
parent57b17858a1b3719507ccad926fb57b05f26935f8 (diff)
downloadgcc-efcd941e86b507d77e90a1b13f621e036eacdb45.zip
gcc-efcd941e86b507d77e90a1b13f621e036eacdb45.tar.gz
gcc-efcd941e86b507d77e90a1b13f621e036eacdb45.tar.bz2
c++: cleanup function name [PR 98531]
The next piece of 98531 is that in some cases we need to create a cleanup function to do the work (when the object is an array, or we're using regular atexit). We were not pushing that function's decl anywhere (not giving it a context) so streaming it failed. This is a partial fix. You'll notice we're naming these from a per-TU counter. I've captured that in PR98893. gcc/cp/ * decl.c (start_cleanup_fn): Push function into namespace. gcc/testsuite/ * g++.dg/modules/pr98531-2.h: New. * g++.dg/modules/pr98531-2_a.H: New. * g++.dg/modules/pr98531-2_b.C: New. * g++.dg/modules/pr98531-3.h: New. * g++.dg/modules/pr98531-3_a.H: New. * g++.dg/modules/pr98531-3_b.C: New.
Diffstat (limited to 'gcc/tree-ssa-sccvn.c')
0 files changed, 0 insertions, 0 deletions