https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85870

--- Comment #7 from sudi at gcc dot gnu.org ---
It is not failing on x86_64 trunk anymore but with 8.0.1

+ TARGET=x86_64-pc-linux-gnu
+ GCC_INSTALL=/work/x86-trunk/bld
+ GCC=/work/x86-trunk/bld/bin/x86_64-pc-linux-gnu-gcc-8.0.1
+ LTO1=/work/x86-trunk/bld/libexec/gcc/x86_64-pc-linux-gnu/8.0.1/lto1
+ CFLAGS=-O2 -flto
+ /work/x86-trunk/bld/bin/x86_64-pc-linux-gnu-gcc-8.0.1 -O2 -flto -c test_1.i
-o test_1.o
+ /work/x86-trunk/bld/bin/x86_64-pc-linux-gnu-gcc-8.0.1 -O2 -flto -c test_2.i
-o test_2.o
+ /work/x86-trunk/bld/libexec/gcc/x86_64-pc-linux-gnu/8.0.1/lto1 test_1.o
test_2.o
Reading object files: test_1.o test_2.olto1: internal compiler error: in
linemap_line_start, at libcpp/line-map.c:794
0x14a025b linemap_line_start(line_maps*, unsigned int, unsigned int)
        ../../src/gcc/libcpp/line-map.c:794
0xa8c893 lto_location_cache::apply_location_cache()
        ../../src/gcc/gcc/lto-streamer-in.c:194
0x76bc54 lto_read_decls
        ../../src/gcc/gcc/lto/lto.c:1816
0x76e221 lto_file_finalize
        ../../src/gcc/gcc/lto/lto.c:2076
0x76e221 lto_create_files_from_ids
        ../../src/gcc/gcc/lto/lto.c:2086
0x76e221 lto_file_read
        ../../src/gcc/gcc/lto/lto.c:2127
0x76e221 read_cgraph_and_symbols
        ../../src/gcc/gcc/lto/lto.c:2839
0x76e221 lto_main()
        ../../src/gcc/gcc/lto/lto.c:3356
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.

Reply via email to