http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60266
Bug ID: 60266 Summary: [4.9 Regression] ICE: in ipa_get_parm_lattices, at ipa-cp.c:261 during LibreOffice LTO build Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: jamborm at gcc dot gnu.org markus@x4 ~S % cat minimal /var/tmp/libreoffice/workdir/CxxObject/dbaccess/source/ui/app/AppController.o /var/tmp/libreoffice/workdir/CxxObject/dbaccess/source/ui/misc/TableCopyHelper.o /var/tmp/libreoffice/workdir/CxxObject/dbaccess/source/ui/misc/uiservices.o /var/tmp/libreoffice/workdir/CxxObject/dbaccess/source/ui/uno/copytablewizard.o markus@x4 ~S % g++ -shared -flto -O2 @minimal lto1: internal compiler error: in ipa_get_parm_lattices, at ipa-cp.c:261 0x50c7ac ipa_get_parm_lattices ../../gcc/gcc/ipa-cp.c:261 0xc41714 ipa_get_parm_lattices ../../gcc/gcc/ipa-cp.c:261 0xc41714 propagate_constants_accross_call ../../gcc/gcc/ipa-cp.c:1441 0xc44228 propagate_constants_topo ../../gcc/gcc/ipa-cp.c:2229 0xc44228 ipcp_propagate_stage ../../gcc/gcc/ipa-cp.c:2325 0xc44228 ipcp_driver ../../gcc/gcc/ipa-cp.c:3701 0xc44228 execute ../../gcc/gcc/ipa-cp.c:3800 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.0/g++ returned 1 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0/../../../../x86_64-pc-linux-gnu/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status I will try to reduce this further tomorrow.