https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66638
Bug ID: 66638 Summary: [6 Regression] profiledbootstrap failure on x86-64 with LTO Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- On Linux/x86-64, r224827 gave: ../../src-trunk/gcc/tree-ssa-sccvn.c: In function âvn_reference_lookupâ: ../../src-trunk/gcc/tree-ssa-sccvn.c:2254:4: warning: âvaluezied_anythingâ may be used uninitialized in this function [-Wmaybe-uninitialized] || !ao_ref_init_from_vn_reference (&r, vr1.set, vr1.type, ^ ../../src-trunk/gcc/tree-ssa-sccvn.c:2232:8: note: âvaluezied_anythingâ was declared here bool valuezied_anything; ^ ../../src-trunk/gcc/lra-constraints.c: In function âcurr_insn_transformâ: ../../src-trunk/gcc/lra-constraints.c:3310:1: internal compiler error: in loop_exits_before_overflow, at tree-ssa-loop-niter.c:3958 curr_insn_transform (bool check_only_p) ^ 0x1096ed2 loop_exits_before_overflow ../../src-trunk/gcc/tree-ssa-loop-niter.c:3958 0x1096ed2 scev_probably_wraps_p(tree_node*, tree_node*, gimple_statement_base*, loop*, bool) ../../src-trunk/gcc/tree-ssa-loop-niter.c:4027 0x19285ee convert_affine_scev(loop*, tree_node*, tree_node**, tree_node**, gimple_statement_base*, bool) ../../src-trunk/gcc/tree-chrec.c:1270 0x1927eff chrec_convert_1 ../../src-trunk/gcc/tree-chrec.c:1325 0x1928265 chrec_convert(tree_node*, tree_node*, gimple_statement_base*, bool) ../../src-trunk/gcc/tree-chrec.c:1414 0xfbcba1 interpret_rhs_expr ../../src-trunk/gcc/tree-scalar-evolution.c:1879 0xfb9248 interpret_gimple_assign ../../src-trunk/gcc/tree-scalar-evolution.c:1921 0xfb9248 analyze_scalar_evolution_1 ../../src-trunk/gcc/tree-scalar-evolution.c:2003 0xfba15f analyze_scalar_evolution(loop*, tree_node*) ../../src-trunk/gcc/tree-scalar-evolution.c:2058 0x1093132 infer_loop_bounds_from_signedness ../../src-trunk/gcc/tree-ssa-loop-niter.c:3065 0x1093132 infer_loop_bounds_from_undefined ../../src-trunk/gcc/tree-ssa-loop-niter.c:3122 0x1094d23 estimate_numbers_of_iterations_loop ../../src-trunk/gcc/tree-ssa-loop-niter.c:3489 0x1095fdc max_loop_iterations(loop*, generic_wide_int<fixed_wide_int_storage<192> >*) ../../src-trunk/gcc/tree-ssa-loop-niter.c:3562 0x10977a2 finite_loop_p(loop*) ../../src-trunk/gcc/tree-ssa-loop-niter.c:2157 0x10199f9 find_obviously_necessary_stmts ../../src-trunk/gcc/tree-ssa-dce.c:440 0x101b1ff perform_tree_ssa_dce ../../src-trunk/gcc/tree-ssa-dce.c:1647 0x101b705 tree_ssa_cd_dce ../../src-trunk/gcc/tree-ssa-dce.c:1701 0x101b705 execute ../../src-trunk/gcc/tree-ssa-dce.c:1766 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. make[7]: *** [/tmp/ccYxiq39.ltrans13.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/local/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[6]: *** [cc1obj] Error 1 when profiledbootstrap with LTO: configure --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-bootstrap --with-fpmath=sse --with-build-config=bootstrap-lto --disable-werror make -j8 profiledbootstrap