[Bug c/27718] [4.0/4.1/4.2 regression] ICE with sizeof of incomplete type
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 30 13:33:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list