re PR c++/48834 (-fno-exceptions causes wrong code generation on C++ code)
authorJason Merrill <jason@redhat.com>
Mon, 2 May 2011 21:59:49 +0000 (17:59 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 2 May 2011 21:59:49 +0000 (17:59 -0400)
commit0a2cdfe6fdd3376e694a83b3229fa03d018dbfda
tree8f138e2152d3982b025b18f53bee0ac5741bd35d
parent2609a0ce534be7a39dce4dee437eab54503e9b5e
re PR c++/48834 (-fno-exceptions causes wrong code generation on C++ code)

PR c++/48834
* tree.c (build_vec_init_expr): Set TREE_SIDE_EFFECTS.
Protect an explicit target.

From-SVN: r173272
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/new31.C [new file with mode: 0644]