aboutsummaryrefslogtreecommitdiff
path: root/gcc/genautomata.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-01-03 17:10:56 -0500
committerJason Merrill <jason@gcc.gnu.org>2020-01-03 17:10:56 -0500
commit8b5d34fc0687dcf53c80c7fa2baa285ebf753708 (patch)
treedf4d4e3be118895b7402e47c1672c49f6a4402b5 /gcc/genautomata.c
parent657fea973b000000350c99de9e67bff0438d1503 (diff)
downloadgcc-8b5d34fc0687dcf53c80c7fa2baa285ebf753708.zip
gcc-8b5d34fc0687dcf53c80c7fa2baa285ebf753708.tar.gz
gcc-8b5d34fc0687dcf53c80c7fa2baa285ebf753708.tar.bz2
PR c++/93033 - incorrect tree node sharing with array init.
The split_nonconstant_init piece is the only one necessary to fix the testcase, but it occurred to me that we might as well not split when -fno-exceptions. * typeck2.c (split_nonconstant_init): Unshare non-decl. * cp-gimplify.c (cp_gimplify_init_expr): Only split if -fexceptions. From-SVN: r279871
Diffstat (limited to 'gcc/genautomata.c')
0 files changed, 0 insertions, 0 deletions