This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/26818] [4.1/4.2 Regression] tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in finish_struct, at c-decl.c:5350 (time.c)



------- Comment #5 from reichelt at gcc dot gnu dot org  2006-05-22 12:21 -------
Subject: Bug 26818

Author: reichelt
Date: Mon May 22 12:20:41 2006
New Revision: 113975

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113975
Log:
        PR c/26818
        * c-decl.c (finish_struct): Skip erroneous fields.

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

Added:
    trunk/gcc/testsuite/gcc.dg/struct-incompl-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26818


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]