https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311
Bug ID: 94311 Summary: LTO produces line info entries with invalid line numbers Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Unfortunately this doesn't have a simple reproducer, but can be seen when compiling valgrind: $ wget https://sourceware.org/pub/valgrind/valgrind-3.15.0.tar.bz2 $ tar -xf valgrind-3.15.0.tar.bz2 $ cd valgrind-3.15 $ ./autogen.sh $ ./configure --prefix=`pwd`/install --enable-only64bit --enable-lto $ make install then $ ./install/bin/valgrind -q date produces warnings like ==14497== warning: Can't handle line info entry with line number 177277754 greater than 1048575 ==14497== (Nb: this message is only shown once) ==14497== warning: Can't handle inlined call info entry with line number 177277750 greater than 1048575 ==14497== (Nb: this message is only shown once) Tue 24 Mar 2020 03:54:34 PM EDT while with GCC 8 these warnings weren't issued.