[patch] Fix bootstrap with --with-debug-prefix-map

Rafael Espindola espindola@google.com
Fri Aug 14 14:55:00 GMT 2009


I sometimes would get a comparison failure when bootstrapping gcc with
the  --with-debug-prefix-map. I tracked the problem to the memory used
so store the map being garbage collected. The attached patch fixes it.

OK for trunk?

2009-08-14  Rafael Avila de Espindola  <espindola@google.com>

            * final.c (add_debug_prefix_map): Don't use GC memory for
             old_prefix and new_prefix.

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_prefix_map.patch
Type: text/x-diff
Size: 522 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090814/a9081740/attachment.bin>


More information about the Gcc-patches mailing list