re PR c/14765 (ice-on-invalid-code, ICE while compiling ({}) expression)
authorJoseph Myers <jsm@polyomino.org.uk>
Mon, 7 Jun 2004 19:49:31 +0000 (20:49 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 7 Jun 2004 19:49:31 +0000 (20:49 +0100)
commit45b0c94cb45aefa68b1627f8a76a84bad2d5b717
tree1699d379c45d66c5d2858418cbd9ca2aa76c63e9
parent3743236e9c2259e46bec32221fcad4db67bfb22b
re PR c/14765 (ice-on-invalid-code, ICE while compiling ({}) expression)

PR c/14765
* c-parse.in (compstmt_primary_start): Set last_expr_type to
NULL_TREE.

testsuite:
* gcc.dg/pr14765-1.c: New test.

From-SVN: r82713
gcc/ChangeLog
gcc/c-parse.in
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr14765-1.c [new file with mode: 0644]