]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Fix TREE_SIDE_EFFECTS after digest_init.
authorJason Merrill <jason@redhat.com>
Fri, 7 Feb 2020 21:10:18 +0000 (16:10 -0500)
committerJason Merrill <jason@redhat.com>
Sat, 8 Feb 2020 16:14:58 +0000 (11:14 -0500)
commitc151a342b8bae48ce4c864e67913bc3a0346c4c7
tree38af6c931eb79a59c347f031e3b409a89c549485
parentc7c09af8ef0fe6671c7733d4d67bb73ecf10fc1b
c++: Fix TREE_SIDE_EFFECTS after digest_init.

* typeck2.c (process_init_constructor): Also clear TREE_SIDE_EFFECTS
if appropriate.
gcc/cp/ChangeLog
gcc/cp/typeck2.c