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