[Bug preprocessor/82469] New: ICE in _cpp_process_line_notes, at libcpp/lex.c:1066
heiko at hexco dot de
gcc-bugzilla@gcc.gnu.org
Sat Oct 7 22:19:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82469
Bug ID: 82469
Summary: ICE in _cpp_process_line_notes, at libcpp/lex.c:1066
Product: gcc
Version: 6.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: heiko at hexco dot de
Target Milestone: ---
Host: x86_64-linux-gnu
Target: x86_64-linux-gnu
Build: x86_64-linux-gnu (gcc version 6.3.0 20170406 (Ubuntu
6.3.0-12ubuntu2))
Created attachment 42322
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42322&action=edit
test code to trigger ICE
Hi,
this code
===
#define B */
#define A /B
#if A
A 1
#endif
===
when run with with "cpp -traditional-cpp -ffreestanding -P issues/ICE.c"
gives
<built-in>: internal compiler error: in _cpp_process_line_notes, at
libcpp/lex.c:1066
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
In trunk the abort() is now at line 1163 in libcpp/lex.c.
BTW: Wouldn't it be useful for bug reporters to have online access to the
latest build of the compilers in order to quickly check if their bug test cases
are still relevant?
Thanks, Heiko
More information about the Gcc-bugs
mailing list