This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/70993] New: ICE with gcov and lto
- From: "vincenzo.innocente at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 07 May 2016 11:46:37 +0000
- Subject: [Bug gcov-profile/70993] New: ICE with gcov and lto
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70993
Bug ID: 70993
Summary: ICE with gcov and lto
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: vincenzo.innocente at cern dot ch
Target Milestone: ---
with gcc version 7.0.0 20160506 (experimental) [trunk revision 235977] (GCC)
cat main.cpp
int main() { return 0;}
c++ -O2 main.cpp
perf record -e
cpu/event=0xc4,umask=0x20,name=br_inst_retired_near_taken,period=400009/ -o
perf.data ./a.out
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.016 MB perf.data (1 samples) ]
create_gcov --binary=./a.out --profile=perf.data --gcov=fbdata.afdo
-gcov_version 1
c++ -O2 main.cpp -fauto-profile -flto
lto1: internal compiler error: in compute_working_sets, at gcov-io.c:1006
0x6fee03 compute_working_sets(gcov_ctr_summary const*, gcov_working_set_info*)
../../gcc-trunk/gcc/gcov-io.c:1006
0xa1a72d get_working_sets()
../../gcc-trunk/gcc/profile.c:226
0x97cd1a input_symtab()
../../gcc-trunk/gcc/lto-cgraph.c:1869
0x6634a7 read_cgraph_and_symbols
../../gcc-trunk/gcc/lto/lto.c:2856
0x6634a7 lto_main()
../../gcc-trunk/gcc/lto/lto.c:3305
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: c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status