[Bug lto/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 5 19:13:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69650
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmalcolm at gcc dot gnu.org
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
It's failing this assertion:
803 linemap_assert (SOURCE_LINE (map, r) == to_line);
here:
(gdb) bt
#2 0x0000000001257bba in linemap_line_start (set=0x7ffff7ffb000,
to_line=to_line@entry=1048577, max_column_hint=128)
at ../../src/libcpp/line-map.c:803
#3 0x000000000092e0da in lto_location_cache::apply_location_cache
(this=this@entry=0x1dc6e08)
at ../../src/gcc/lto-streamer-in.c:193
with a bogus-looking line number:
(gdb) p to_line
$1 = 1048577
The bogus line number is in the LTO data itself.
More information about the Gcc-bugs
mailing list