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



--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-26 16:36:10 
UTC ---

(In reply to comment #2)

>

> > 

> > Hmm, I suppose this is because we no longer merge symbols that are not part 
> > of

> > symtab, but

> > used only for debugging....

> > 

> > Honza

> 

> global_options is certainly used.  Aggressively removing unused vars is ok

> even if that drops debug info for them.



We lost debug info on most, if not all, used data variables. It

seems that their type infos are also gone. We can't tell



extern int *foo;



from



extern int foo[];

Reply via email to