http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55466
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2012-11-26 15:57:37 UTC --- (In reply to comment #1) > > /export/project/git/gcc-regression-bootstrap/master/191466/bld/gcc/cc1...done. > > (gdb) whatis global_options > > type = <data variable, no debug info> > > (gdb) whatis cl_options > > type = <data variable, no debug info> > > (gdb) whatis cl_enums > > type = <data variable, no debug info> > > (gdb) whatis cl_enums_count > > type = <data variable, no debug info> > > (gdb) whatis global_options_set > > type = <data variable, no debug info> > > (gdb) whatis sched_max_luid > > type = <data variable, no debug info> > > (gdb) > > 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.