semantics.c (finish_compound_literal): Don't put an array with a dtor in a static...
authorJason Merrill <jason@redhat.com>
Thu, 21 Apr 2011 04:28:32 +0000 (00:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 21 Apr 2011 04:28:32 +0000 (00:28 -0400)
commitfa9ef321070b9fbedf735ee8fdf864aa7c2b80f5
treed058988cd03513ec16404b8d12359319b2cdfc87
parentf70292772476f1ccc341a69bfb0ab264bc9954bf
semantics.c (finish_compound_literal): Don't put an array with a dtor in a static variable.

* semantics.c (finish_compound_literal): Don't put an array
with a dtor in a static variable.

From-SVN: r172810
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist47.C [new file with mode: 0644]