This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15360] c99: extern w/initializer; extern w/internal linkage
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2004 15:26:51 -0000
- Subject: [Bug c/15360] c99: extern w/initializer; extern w/internal linkage
- References: <20040510002635.15360.hozelda@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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