[Bug c/85870] [6/7/8/9 Regression][LTO1] ICE in linemap_line_start, at libcpp/line-map.c:794

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 9 10:30:00 GMT 2018


Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |WAITING

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Can't reproduce with GCC 7.3.0 on x86_64:

+ gcc-7 -O2 -flto -c test_1.i -o test_1.o
+ gcc-7 -O2 -flto -c test_2.i -o test_2.o
+ gcc-7 test_1.o test_2.o
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/crt1.o: in function
undefined reference to `main'
collect2: error: ld returned 1 exit status

Richi how did you achieve to reproduce that?

More information about the Gcc-bugs mailing list