re PR c/26818 (tree check: expected class ‘type’, have ‘exceptional’ (error_mark...
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Mon, 22 May 2006 12:20:41 +0000 (12:20 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 22 May 2006 12:20:41 +0000 (12:20 +0000)
commit4271a6f36886a604cf9f39d85408b0a2dbe45ecd
tree1abc7d64dcc628ccee0d39cc55fbbd8277065f80
parent055c00f145f9613dd27c8a1e17fb0794f53fc9de
re PR c/26818 (tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in finish_struct, at c-decl.c:5350 (time.c))

PR c/26818
* c-decl.c (finish_struct): Skip erroneous fields.

* gcc.dg/struct-incompl-1.c: New test.

From-SVN: r113975
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/struct-incompl-1.c [new file with mode: 0644]