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/27718] [4.0/4.1/4.2 regression] ICE with sizeof of incomplete type



------- Comment #2 from reichelt at gcc dot gnu dot org  2006-05-30 13:33 -------
Subject: Bug 27718

Author: reichelt
Date: Tue May 30 13:33:17 2006
New Revision: 114234

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114234
Log:
        PR c/27718
        * c-typeck.c (c_expr_sizeof_type): Handle invalid types.

        * gcc.dg/sizeof-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/sizeof-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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