[Bug c/36941] gcc does not reject invalid cast
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 23 02:46:00 GMT 2008
------- Comment #6 from manu at gcc dot gnu dot org 2008-08-23 02:44 -------
extern struct S x;
void foo() { (void)x; }
void baz() { x ; }
pr36941.c: In function ÂbazÂ:
pr36941.c:3:1: error: expression statement has incomplete type
Where is the quote about undefined behaviour from?
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36941
More information about the Gcc-bugs
mailing list