------- Comment #6 from pinskia at gcc dot gnu dot org  2006-05-17 18:29 -------
Hmm, I think this causes the following invalid code to be accepted (but I am
not sure if this is invalid code or not):
enum in_section {  in_toc };
int f(void) { extern int in_toc; }

----------
In 3.3 and before we got:
t1.c: In function `f':
t1.c:1: error: `in_toc' redeclared as different kind of symbol
t1.c:1: error: previous declaration of `in_toc'


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14366

Reply via email to