[Bug lto/63546] ICE: Segmentation fault in lto_get_decl_name_mapping on ppc64

Jan Hubicka hubicka@ucw.cz
Thu Oct 16 16:14:00 GMT 2014


> 
> Commenting that out will severely decrease debug info quality.

It was meant as a workaround for PPC Firefox builds ;)

> Yes, dwarf2out really needs a RTL for those, and some that will not affect
> -fcompare-debug, with the right (mangled?) name of the var and various other
> attributes on the MEM.

Why are those needed for variables that was fully optimized out?  Mangled name
is acccessible via DECL_ASSEMBLER_NAME, so it may be prettier if dwarf2out
took it directly from DECL rather than going to RTL.

I suppose one can bypass the whole ancros machinery for those and avoid the
ICE. Produced RTL however won't be useful for any real work on it.

Honza



More information about the Gcc-bugs mailing list