diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-10-24 01:44:17 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-10-24 01:44:17 +0100 |
commit | 26d8af3556969fc8eeda5adfe314553484ad9751 (patch) | |
tree | 389dcf1ce9bb16d2ed2b5109dd50c21b8ac5c1b3 /gcc/ipa-reference.c | |
parent | 5e86b38ccb7f753ffe54b2e2a46c22a8f54cb51b (diff) | |
download | gcc-26d8af3556969fc8eeda5adfe314553484ad9751.zip gcc-26d8af3556969fc8eeda5adfe314553484ad9751.tar.gz gcc-26d8af3556969fc8eeda5adfe314553484ad9751.tar.bz2 |
re PR c/40033 (ICE with invalid statement expression)
PR c/40033
* c-typeck.c (c_finish_stmt_expr): Do not wrap error_mark_node in
a C_MAYBE_CONST_EXPR.
testsuite:
* gcc.dg/noncompile/pr40033-1.c: New test.
From-SVN: r153522
Diffstat (limited to 'gcc/ipa-reference.c')
0 files changed, 0 insertions, 0 deletions