[Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 11 00:46:00 GMT 2011


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

--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-11 00:36:33 UTC ---
Hi,
this should fix the issue.
Index: config/darwin.c
===================================================================
--- config/darwin.c     (revision 168632)
+++ config/darwin.c     (working copy)
@@ -2618,7 +2618,7 @@
   if (flag_var_tracking
       && (generating_for_darwin_version >= 9)
       && debug_info_level >= DINFO_LEVEL_NORMAL
-      && debug_hooks->var_location != do_nothing_debug_hooks.var_location)
+      && write_symbols == DWARF2_DEBUG)
     flag_var_tracking_uninit = 1;

   if (MACHO_DYNAMIC_NO_PIC_P)



More information about the Gcc-bugs mailing list