This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/63546] ICE: Segmentation fault in lto_get_decl_name_mapping on ppc64
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Oct 2014 16:15:20 +0000
- Subject: [Bug lto/63546] ICE: Segmentation fault in lto_get_decl_name_mapping on ppc64
- Auto-submitted: auto-generated
- References: <bug-63546-4 at http dot gcc dot gnu dot org/bugzilla/>
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