[Bug c/15360] c99: extern w/initializer; extern w/internal linkage
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 6 15:26:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-06 15:26 -------
Update even further this is undefined and now is rejected at runtime on the mainline:
t.c:2: warning: `x0' initialized and declared `extern'
t.c:2: error: non-static declaration of 'x0' follows static declaration
t.c:1: error: previous declaration of 'x0' was here
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15360
More information about the Gcc-bugs
mailing list