This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/69650] [6 Regression] ICE in linemap_line_start, at libcpp/line-map.c:803


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]