re PR c++/49355 (new T({""}) crashes G++ when struct T { std::string foobar };)
authorJason Merrill <jason@redhat.com>
Fri, 1 Jul 2011 00:03:34 +0000 (20:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 1 Jul 2011 00:03:34 +0000 (20:03 -0400)
commitb9d6b0153cbd3fc5a5d451ffa1a44313ba56e24a
tree92d5685f6c5750040df40af7dc5b9a591a5c8bf1
parent1ac93f108375d63eb373fbfcd59634202d1b50b7
re PR c++/49355 (new T({""}) crashes G++ when struct T { std::string foobar };)

PR c++/49355
* tree.c (stabilize_init): Handle aggregate initialization.

From-SVN: r175736
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist54.C [new file with mode: 0644]