]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/init.c
re PR c++/58510 ([c++11] ICE with multiple non-static data initializations in union)
authorMarek Polacek <polacek@redhat.com>
Thu, 3 Oct 2013 16:33:23 +0000 (16:33 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 3 Oct 2013 16:33:23 +0000 (16:33 +0000)
commit2ef7251f6cd9e228cafa3473929ff55c9cb56928
tree62b9d2ef06f37823d1153957bcb6779b88888243
parentfc7657bb382e789ce7468950ca1c5fa0b9061ec5
re PR c++/58510 ([c++11] ICE with multiple non-static data initializations in union)

PR c++/58510
cp/
* init.c (sort_mem_initializers): Splice when giving an error.
testsuite/
* g++.dg/cpp0x/pr58510.C: New test.

From-SVN: r203165
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr58510.C [new file with mode: 0644]