re PR c/23576 (tree check: expected class ‘type’, have exceptional’ (error_mark)...
authorRichard Guenther <rguenther@suse.de>
Tue, 4 Oct 2005 13:58:42 +0000 (13:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 4 Oct 2005 13:58:42 +0000 (13:58 +0000)
commit9df594d7e7119cbbb3618298054ab15d4d3db258
treed21cf970781e413baf152e71ea6897bc4c8b7006
parent11e3f4b6f733c96148bea5747f793f020f4aeadb
re PR c/23576 (tree check: expected class ‘type’, have exceptional’ (error_mark) in grokdeclarator, at c-decl.c:4252)

2005-10-04  Richard Guenther  <rguenther@suse.de>

PR c/23576
* c-decl.c (grokdeclarator): Don't write to fields
of error_mark_node.

* gcc.dg/noncompile/pr23576.c: New testcase.

From-SVN: r104943
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/pr23576.c [new file with mode: 0644]