This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/77305] New: [7 Regression] -fdump-tree-all and -flto causes ICE
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Aug 2016 00:38:01 +0000
- Subject: [Bug lto/77305] New: [7 Regression] -fdump-tree-all and -flto causes ICE
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77305
Bug ID: 77305
Summary: [7 Regression] -fdump-tree-all and -flto causes ICE
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
apinski@apinski-ss1:~/rrt$ cat t.c
short calc_func() {}
apinski@apinski-ss1:~/rrt$ ./tools/bin/gcc -fdump-tree-all -flto t.c
In function ‘calc_func’:
lto1: internal compiler error: Segmentation fault
0xa2d1b7 crash_signal
../../gcc/gcc/toplev.c:335
0xa146dc statistics_counter_event(function*, char const*, int)
../../gcc/gcc/statistics.c:315
0xac0ab7 update_ssa(unsigned int)
../../gcc/gcc/tree-into-ssa.c:3267
0x8ea4cb input_function
../../gcc/gcc/lto-streamer-in.c:1137
0x8ea4cb lto_read_body_or_constructor
../../gcc/gcc/lto-streamer-in.c:1208
0x64672b cgraph_node::get_untransformed_body()
../../gcc/gcc/cgraph.c:3568
0x65281b cgraph_node::expand()
../../gcc/gcc/cgraphunit.c:1955
0x653863 output_in_order
../../gcc/gcc/cgraphunit.c:2228
0x653c9f symbol_table::compile()
../../gcc/gcc/cgraphunit.c:2472
0x5bc047 lto_main()
../../gcc/gcc/lto/lto.c:3320
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: ./tools/bin/gcc returned 1 exit status
compilation terminated.
/home/apinski/rrt/tools/bin/../lib/gcc/aarch64-unknown-linux-gnu/7.0.0/../../../../aarch64-unknown-linux-gnu/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status