re PR c/35437 (ICE with struct containing incomplete type)
authorSimon Martin <simartin@users.sourceforge.net>
Tue, 7 Oct 2008 20:56:53 +0000 (20:56 +0000)
committerSimon Martin <simartin@gcc.gnu.org>
Tue, 7 Oct 2008 20:56:53 +0000 (20:56 +0000)
commit16d5ffec52cbe1c4e6d10ca67656fec7eb6badcd
tree2122366af946d42908fa21d19fbf84ba4c42f180
parent3b14bb3928d44278ae7b724334e6fe02e146d17c
re PR c/35437 (ICE with struct containing incomplete type)

gcc/

2008-10-07  Simon Martin  <simartin@users.sourceforge.net>

        PR c/35437
        * expr.c (count_type_elements): Handle ERROR_MARK.

gcc/testsuite/

2008-01-07  Simon Martin  <simartin@users.sourceforge.net>

        PR c/35437
        * gcc.dg/struct-parse-2.c: New test.
        * g++.dg/parse/struct-4.C: New test.

From-SVN: r140953
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/struct-4.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/struct-parse-2.c [new file with mode: 0644]