re PR c++/48606 (g++.dg/init/ctor9.C ICE: tree check: expected class 'type', have...
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 29 Apr 2011 22:03:40 +0000 (22:03 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 29 Apr 2011 22:03:40 +0000 (22:03 +0000)
commit48e5d11979af0dd03c54623faffddc5f0c3c1741
tree4303b30e583abeff4c47262505046c90b9a0162a
parentb15c64ee1aafcb68df59ecc46bd2c799d7618160
re PR c++/48606 (g++.dg/init/ctor9.C ICE: tree check: expected class 'type', have 'exceptional' (error_mark) with -fkeep-inline-functions)

/cp
2011-04-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/48606
* init.c (perform_member_init): Check build_value_init return
value for error_mark_node.

/testsuite
2011-04-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/48606
* g++.dg/init/ctor10.C: New.

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