https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80714
Bug ID: 80714 Summary: [8 Regression] profiledbootstrap failed with LTO Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: bergner at vnet dot ibm.com Target Milestone: --- On Linux/x86-64, r247844 caused profiledbootstrap failure: ./../src-trunk/gcc/genrecog.c: In function ‘print_test’: ../../src-trunk/gcc/genrecog.c:4619:1: error: extra outgoing edge 29->30 print_test (output_state *os, const rtx_test &test, bool is_param, ^ ../../src-trunk/gcc/genrecog.c:4619:1: internal compiler error: verify_flow_info failed 0x72f3c7 verify_flow_info() ../../src-trunk/gcc/cfghooks.c:260 0xfea51c checking_verify_flow_info ../../src-trunk/gcc/cfghooks.h:198 0xfea51c cleanup_tree_cfg_noloop ../../src-trunk/gcc/tree-cfgcleanup.c:837 0xfea51c cleanup_tree_cfg() ../../src-trunk/gcc/tree-cfgcleanup.c:883 0xd992fc execute_function_todo ../../src-trunk/gcc/passes.c:1921 0xd96414 do_per_function ../../src-trunk/gcc/passes.c:1652 0xd96717 execute_todo ../../src-trunk/gcc/passes.c:2022 0xd9ccec execute_one_ipa_transform_pass ../../src-trunk/gcc/passes.c:2219 0xd9ccec execute_all_ipa_transforms() ../../src-trunk/gcc/passes.c:2255 0x78d43e cgraph_node::expand() ../../src-trunk/gcc/cgraphunit.c:2035 0x790832 expand_all_functions ../../src-trunk/gcc/cgraphunit.c:2178 0x790832 symbol_table::compile() ../../src-trunk/gcc/cgraphunit.c:2535 0x656af4 lto_main() ../../src-trunk/gcc/lto/lto.c:3334 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. make[7]: *** [/tmp/ccH2Om7R.ltrans2.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 Makefile:2794: recipe for target 'build/genrecog' failed make[6]: *** [build/genrecog] Error 1 when gcc is configured with --prefix=/export/gnu/import/git/gcc-regression-bootstrap/master/247851/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --enable-languages=c,c++ --enable-bootstrap --with-fpmath=sse --with-build-config=bootstrap-lto --disable-werror --disable-multilib --disable-libcc1 --disable-libcilkrts --disable-libsanitizer