Bug 80714 - [8 Regression] profiledbootstrap failed with LTO
Summary: [8 Regression] profiledbootstrap failed with LTO
Status: CLOSED DUPLICATE of bug 80707
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 8.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-11 20:47 UTC by H.J. Lu
Modified: 2017-05-11 22:54 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2017-05-11 20:47:56 UTC
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
Comment 1 Peter Bergner 2017-05-11 22:54:11 UTC
This is a dup.

*** This bug has been marked as a duplicate of bug 80707 ***
Comment 2 Peter Bergner 2017-05-11 22:54:35 UTC
Closing as a dup.