typeck2.c
76 KB
-
PR c++/93033 - incorrect tree node sharing with array init. · 8b5d34fc
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
Jason Merrill committed