diff options
author | Jason Merrill <jason@redhat.com> | 2020-01-03 17:10:56 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2020-01-03 17:10:56 -0500 |
commit | 8b5d34fc0687dcf53c80c7fa2baa285ebf753708 (patch) | |
tree | df4d4e3be118895b7402e47c1672c49f6a4402b5 /gcc/genautomata.c | |
parent | 657fea973b000000350c99de9e67bff0438d1503 (diff) | |
download | gcc-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