https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92833
Bug ID: 92833
Summary: ice for broken C code
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
For this list of C tokens:
char
<<
<<
<<
recent gcc trunk deals with it in a less than tidy fashion:
destDir/crash0.c:2:2: error: expected identifier or ‘(’ before ‘<<’ token
2 | <<
| ^~
destDir/crash0.c:4:2: internal compiler error: Segmentation fault
4 | <<
| ^~
0xeaa5a7 crash_signal
../../trunk/gcc/toplev.c:328
0x1994284 _cpp_lex_direct
../../trunk/libcpp/lex.c:2725
0x1995cc0 _cpp_lex_token
../../trunk/libcpp/lex.c:2608
0x199fc47 cpp_get_token_1
../../trunk/libcpp/macro.c:2707