https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64298
Bug ID: 64298 Summary: [5 Regression] ICE: Segmentation fault in get_binfo_at_offset at tree.c:11914 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-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu In r218651, the following ICE occurs: 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/ip a/pr64059.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/gnu/gc c/gcc/libstdc++-v3/libsupc++ -I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backw ard -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -std =gnu++98 -r -nostdlib -O2 -flto -fno-devirtualize -S -o pr64059.s /home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/ipa/pr64059.C:56:1: internal compiler error: Segmentation fault 0x685e57 crash_signal ../../gcc/gcc/toplev.c:358 0x894508 get_binfo_at_offset(tree_node*, long long, tree_node*) ../../gcc/gcc/tree.c:11914 0x4d044f possible_polymorphic_call_targets(tree_node*, long long, ipa_polymorphi c_call_context, bool*, void**, bool) ../../gcc/gcc/ipa-devirt.c:2404 0x5661db possible_polymorphic_call_targets(cgraph_edge*, bool*, void**, bool) ../../gcc/gcc/ipa-utils.h:109 0x5661db compute_ltrans_boundary(lto_symtab_encoder_d*) ../../gcc/gcc/lto-cgraph.c:952 0x5bfabb ipa_write_summaries(bool) ../../gcc/gcc/passes.c:2511 0x327e53 ipa_passes ../../gcc/gcc/cgraphunit.c:2093 0x327e53 symbol_table::compile() ../../gcc/gcc/cgraphunit.c:2189 0x32936b symbol_table::finalize_compilation_unit() ../../gcc/gcc/cgraphunit.c:2338 0x191527 cp_write_global_declarations() ../../gcc/gcc/cp/decl2.c:4688 Please submit a full bug report,