https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65190
Bug ID: 65190 Summary: libreoffice build failure with lto and graphite flags Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Created attachment 34853 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34853&action=edit unreduced testcase A Gentoo user emailed me the attached testcase. (I don't have graphite enabled on any machine, so I cannot reproduce the issue.) % S=/home/gentoo/tmp/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3 && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/sfx2/source/appl/ $W/Dep/CxxObject/sfx2/source/appl/ && cd /home/gentoo/tmp/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3 && x86_64-pc-linux-gnu-g++ -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -DRTL_USING -DSFX2_DLLIMPLEMENTATION -DENABLE_CUPS -DSYSTEM_LIBXML -Wall -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe -fPIC -Wshadow -Woverloaded-virtual -std=gnu++11 -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -march=native -O2 -pipe -ggdb -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -fira-loop-pressure -ftree-vectorize -ftree-loop-linear -flto=5 -fuse-linker-plugin -c $S/sfx2/source/appl/sfxpicklist.cxx -o $W/CxxObject/sfx2/source/appl/sfxpicklist.o -I$S/sfx2/source/appl/ -I$S/sfx2/inc -I$S/sfx2/source/inc -I$W/SdiTarget/sfx2/sdi -I$S/include -I/opt/icedtea-bin-7.2.5.3/include -I/opt/icedtea-bin-7.2.5.3/include/linux -I$S/config_host -I$W/CustomTarget/officecfg/registry -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I/usr/include -isystem /usr/include/libxml2 In member function ‘Notify’: /home/gentoo/tmp/portage/app-office/libreoffice-4.4.0.3/work/libreoffice-4.4.0.3 /sfx2/source/appl/sfxpicklist.cxx:442:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, -v output is in the attachment.