https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68057
Bug ID: 68057 Summary: [6 Regression] 450.soplex in SPEC CPU 2006 failed to build Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- For x32, r229159 gave g++ -mx32 -O2 -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin changesoplex.o didxset.o dsvector.o dvector.o enter.o example.o factor.o forest.o idxset.o leave.o lpcolset.o lprow.o lprowset.o message.o mpsinput.o nameset.o slufactor.o solve.o soplex.o spxaggregatesm.o spxbasis.o spxbounds.o spxchangebasis.o spxdefaultpr.o spxdefaultrt.o spxdefines.o spxdesc.o spxdevexpr.o spxequilisc.o spxfastrt.o spxgeneralsm.o spxharrisrt.o spxhybridpr.o spxid.o spxio.o spxlp.o spxlpfread.o spxmpsread.o spxmpswrite.o spxparmultpr.o spxquality.o spxredundantsm.o spxrem1sm.o spxscaler.o spxshift.o spxsolve.o spxsolver.o spxstarter.o spxsteeppr.o spxsumst.o spxvecs.o spxvectorst.o spxweightpr.o spxweightst.o ssvector.o svector.o svset.o timer.o unitvector.o update.o updatevector.o vector.o vsolve.o -o soplex lto1: internal compiler error: in record_target_from_binfo, at ipa-devirt.c:2599 0x806e06 record_target_from_binfo ../../src-trunk/gcc/ipa-devirt.c:2599 0x806910 record_target_from_binfo ../../src-trunk/gcc/ipa-devirt.c:2640 0x807344 possible_polymorphic_call_targets_1 ../../src-trunk/gcc/ipa-devirt.c:2687 0x80e6c9 possible_polymorphic_call_targets(tree_node*, long, ipa_polymorphic_call_context, bool*, void**, bool) ../../src-trunk/gcc/ipa-devirt.c:3216 0x80ffbc try_speculative_devirtualization(tree_node*, long, ipa_polymorphic_call_context) ../../src-trunk/gcc/ipa-devirt.c:3576 0x10a887f ipa_get_indirect_edge_target_1 ../../src-trunk/gcc/ipa-cp.c:2142 0x8220d2 estimate_edge_devirt_benefit ../../src-trunk/gcc/ipa-inline-analysis.c:3048 0x8224db estimate_edge_size_and_time ../../src-trunk/gcc/ipa-inline-analysis.c:3088 0x8224db estimate_calls_size_and_time ../../src-trunk/gcc/ipa-inline-analysis.c:3164 0x822826 estimate_node_size_and_time ../../src-trunk/gcc/ipa-inline-analysis.c:3259 0x824d8d do_estimate_edge_time(cgraph_edge*) ../../src-trunk/gcc/ipa-inline-analysis.c:3745 0x825317 do_estimate_edge_size(cgraph_edge*) ../../src-trunk/gcc/ipa-inline-analysis.c:3796 0x825587 estimate_edge_size ../../src-trunk/gcc/ipa-inline.h:293 0x825587 estimate_edge_growth ../../src-trunk/gcc/ipa-inline.h:306 0x825587 estimate_size_after_inlining(cgraph_node*, cgraph_edge*) ../../src-trunk/gcc/ipa-inline-analysis.c:3889 0x10b8c64 caller_growth_limits ../../src-trunk/gcc/ipa-inline.c:193 0x10b8c64 can_inline_edge_p ../../src-trunk/gcc/ipa-inline.c:398 0x10bdaad update_callee_keys ../../src-trunk/gcc/ipa-inline.c:1404 0x10c00eb inline_small_functions ../../src-trunk/gcc/ipa-inline.c:2041 0x10c00eb ipa_inline ../../src-trunk/gcc/ipa-inline.c:2425 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: fatal error: g++ returned 1 exit status compilation terminated. /usr/local/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status specmake[3]: *** [soplex] Error 1 r229021 is OK.