re PR c++/49776 ([C++0x]ICE in build_data_member_initialization, at cp/semantics...
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 26 Jul 2011 20:00:31 +0000 (20:00 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 26 Jul 2011 20:00:31 +0000 (20:00 +0000)
commit625f85e91b9b91fc3d82416abf7e00f556e6e6da
treed2539c1e410dbe997a238756e90b6e2917cd7805
parentbce26def5998cbc546e99cdc3c874d921b04aa5e
re PR c++/49776 ([C++0x]ICE in build_data_member_initialization, at cp/semantics.c:5499)

/cp
2011-07-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/49776
* typeck.c (cp_build_modify_expr): Check digest_init return value
for error_mark_node.

/testsuite
2011-07-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/49776
* g++.dg/cpp0x/constexpr-49776.C: New.

From-SVN: r176809
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-49776.C [new file with mode: 0644]