[Bug c/17409] New: [4.0 regression] not emitting variable which was declared extern and initialized and had been declared extern

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 10 21:13:00 GMT 2004


extern int t;
extern int t = 0;
void f(){t =0;}
void g(){h(&t);}

-- 
           Summary: [4.0 regression] not emitting variable which was
                    declared extern and initialized and had been declared
                    extern
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list