------- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-16 16:06 ------- Confirmed. "generates at -O and higher a reference to undefined local label" No it generates an undefined local label at all levels of optimization in 4.0.x and above (there was a bug about not supporting used on local static at -O0 which you are running into also).
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |link-failure Known to fail| |4.0.0 4.1.0 4.2.0 Known to work| |3.4.0 Last reconfirmed|0000-00-00 00:00:00 |2006-10-16 16:06:40 date| | Summary|tree-inline.c bug with local|[4.0/4.1/4.2 Regression] |static vars |tree-inline.c bug with local | |static vars Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29484