This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63546

--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> ---
> 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]