[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:14:00 GMT 2016


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

--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
A more minimal reproducer for these insane line numbers:

$ cat test.C
# 9 "" 2
not_a_type a;

# With recent trunk:
$ gcc -c test.C
line-map.c: file "<stdin>" left but not entered
test.C:1048537:1: error: ‘not_a_type’ does not name a type

# With gcc 4.8.3:
$ /usr/bin/gcc -c test.C
line-map.c: file "<stdin>" left but not entered
test.C:33554393:1: error: ‘not_a_type’ does not name a type


More information about the Gcc-bugs mailing list