https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61256
Bug ID: 61256 Summary: [4.10 regression] Building spec2000/252.eon with LTO got a compfail after r210522 Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: izamyatin at gmail dot com Linking on x86 as follows g++ -m64 -Ofast -flto -funroll-loops -m64 -Ofast -flto -funroll-loops -DSPEC_CPU2000_LP64 ... gives lto1: internal compiler error: in gimple_get_virt_method_for_vtable, at gimple-fold.c:3276 0x730833 gimple_get_virt_method_for_vtable(long, tree_node*, unsigned long, bool*) ........../../gcc/gimple-fold.c:3276 0x730a23 gimple_get_virt_method_for_binfo(long, tree_node*, bool*) ........../../gcc/gimple-fold.c:3377 0x77a133 record_target_from_binfo ........../../gcc/ipa-devirt.c:867 0x77a30f record_target_from_binfo ........../../gcc/ipa-devirt.c:884 0x77a9bb possible_polymorphic_call_targets_1 ........../../gcc/ipa-devirt.c:931 0x77e609 possible_polymorphic_call_targets(tree_node*, long, ipa_polymorphic_call_context, bool*, void**, int*) ........../../gcc/ipa-devirt.c:1743 0x7a46f9 possible_polymorphic_call_targets ........../../gcc/ipa-utils.h:121 0x7a46f9 walk_polymorphic_call_targets ........../../gcc/ipa.c:177 0x7a46f9 symtab_remove_unreachable_nodes(bool, _IO_FILE*) ........../../gcc/ipa.c:407 0x858ec7 execute_todo ........../../gcc/passes.c:1843 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: g++ returned 1 exit status /usr/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status specmake: *** [eon] Error 1 Also 471.omnetpp from spec2006 fails with the same error