https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65666
Bug ID: 65666 Summary: [5 Regression] FAIL: g++.dg/torture/pr64378.C -O2 -flto -fno-use-linker-plugin -flto-partitio n=none (internal compiler error) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Host: hppa*-*-* Target: hppa*-*-* Build: hppa*-*-* Created attachment 35223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35223&action=edit Preprocessed source On hppa-unknown-linux-gnu with r221839, spawn /home/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++ -B/home/dave/gnu/gc c/objdir/gcc/testsuite/g++/../../ /home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/to rture/pr64378.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu -I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include -I/home/dave/gn u/gcc/gcc/libstdc++-v3/libsupc++ -I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/b ackward -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -O2 -flto -fno-use-linker-plugin -flto-partition=none -fno-ipa-cp -S -o pr64378. s /home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr64378.C:24:1: internal com piler error: Segmentation fault 0x6bf897 crash_signal ../../gcc/gcc/toplev.c:383 0xa27ff8 ipa_icf::sem_item_optimizer::update_hash_by_addr_refs() ../../gcc/gcc/ipa-icf.c:2509 0xa2816f ipa_icf::sem_item_optimizer::execute() ../../gcc/gcc/ipa-icf.c:23940xa29f9f ipa_icf_driver ../../gcc/gcc/ipa-icf.c:33040xa29f9f ipa_icf::pass_ipa_icf::execute(function*) ../../gcc/gcc/ipa-icf.c:3351 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. compiler exited with status 1 output is: /home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr64378.C:24:1: internal compiler error: Segmentation fault 0x6bf897 crash_signal ../../gcc/gcc/toplev.c:383 0xa27ff8 ipa_icf::sem_item_optimizer::update_hash_by_addr_refs() ../../gcc/gcc/ipa-icf.c:2509 0xa2816f ipa_icf::sem_item_optimizer::execute() ../../gcc/gcc/ipa-icf.c:2394 0xa29f9f ipa_icf_driver ../../gcc/gcc/ipa-icf.c:3304 0xa29f9f ipa_icf::pass_ipa_icf::execute(function*) ../../gcc/gcc/ipa-icf.c:3351 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. FAIL: g++.dg/torture/pr64378.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error) FAIL: g++.dg/torture/pr64378.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) Similar fails seen on hppa64-hp-hpux11.11 with r221840, FAIL: g++.dg/torture/pr64378.C -O2 -flto -flto-partition=none (internal compi ler error) FAIL: g++.dg/torture/pr64378.C -O2 -flto -flto-partition=none (test for exces s errors) FAIL: g++.dg/torture/pr64378.C -O2 -flto (internal compiler error) FAIL: g++.dg/torture/pr64378.C -O2 -flto (test for excess errors)