https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71190
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- OK. I've given up on reducing. Honza, you can find the unreduced testcase on gcc112 in /home/trippels/lto_ice_testcase : trippels@gcc2-power8 lto_ice_testcase % ~/gcc_test/usr/local/bin/c++ -w -flto=60 -flto-partition=max -ffunction-sections -fdata-sections -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -O3 -fomit-frame-pointer -fPIC -shared *.ii lto1: internal compiler error: in assemble_variable_contents, at varasm.c:2065