re PR c++/51399 ([c++0x] [4.7 Regression] ICE with invalid initializer list)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 5 Dec 2011 20:44:50 +0000 (20:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 5 Dec 2011 20:44:50 +0000 (20:44 +0000)
commita9eba00e1b73fe6ac5f6d3dcad4a015a4e8eb4d4
tree1b1a530d5675327975ac8b05377aa837cfe94bbd
parent671b487dc35fcde6a5f611e0714b419953c4c3ed
re PR c++/51399 ([c++0x] [4.7 Regression] ICE with invalid initializer list)

/cp
2011-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51399
* init.c (perform_member_init): Early return if init is error_mark_node.

/testsuite
2011-12-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51399
* g++.dg/cpp0x/initlist62.C: New.

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