re PR c++/58565 ([c++11] ICE with label in statement expression)
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 2 Oct 2013 10:44:23 +0000 (10:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 2 Oct 2013 10:44:23 +0000 (10:44 +0000)
commit0eb3d6c6b602c7fbb290290ff853cb1ffe77e0c4
tree90e7f26ca39213a55265b9d10bc4bb84ec14a2d4
parentf6fe771af1d2a5ba617c75cff4fba0e3decf925e
re PR c++/58565 ([c++11] ICE with label in statement expression)

/cp
2013-10-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58565
* semantics.c (potential_constant_expression_1): Handle LABEL_EXPR.

/testsuite
2013-10-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58565
* g++.dg/parse/crash64.C: New.

From-SVN: r203109
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash64.C [new file with mode: 0644]