| Subject: | [Bug c/36941] gcc does not reject invalid cast |
|---|---|
| From: | "manu at gcc dot gnu dot org" |
| Date: | 23 Aug 2008 02:44:37 -0000 |
------- 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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug c++/36888] Error message when forgetting a semicolon after a class definition should be better, manu at gcc dot gnu dot org |
|---|---|
| Next by Date: | [Bug c++/37047] Missing warning for deprecated use of static, manu at gcc dot gnu dot org |
| Previous by Thread: | [Bug c++/36888] Error message when forgetting a semicolon after a class definition should be better, manu at gcc dot gnu dot org |
| Next by Thread: | [Bug c/37207] New: ice at tree-ssa-ifcombine.c:222, regehr at cs dot utah dot edu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |