OSDN Git Service

PR c/20245
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Feb 2005 19:22:41 +0000 (19:22 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Feb 2005 19:22:41 +0000 (19:22 +0000)
commite44d834f170748e1672c1cb7a039833439e5fe64
treeefa78f2b2be7dbea497b810ce8a930c3026cdc14
parent91141d3997f95af398a8c0db653784cab6aa6fef
PR c/20245
* c-parser.c (c_parser_compound_statement): Return error_mark_node
instead of NULL_TREE on error.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95693 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr20245-1.c [new file with mode: 0644]