https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105987
Bug ID: 105987 Summary: ICE: unspellable token PRAGMA_EOL Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Affects versions down to at least r5 : (test cases c-c++-common/gomp/declare-variant-9.c, -10.c, -11.c) $ gcc-13-20220612 -c declare-variant-9.c -fopenmp -traditional-cpp declare-variant-9.c:43: internal compiler error: unspellable token PRAGMA_EOL 43 | #if defined(__i386__) || defined(__x86_64__) | 0x74d9f2 c_cpp_diagnostic(cpp_reader*, cpp_diagnostic_level, cpp_warning_reason, rich_location*, char const*, __va_list_tag (*) [1]) ../../gcc/c-family/c-common.cc:6673 0x19eb6b7 cpp_diagnostic ../../libcpp/errors.cc:82 0x19eb766 cpp_error(cpp_reader*, cpp_diagnostic_level, char const*, ...) ../../libcpp/errors.cc:96 0x19f50fd cpp_spell_token(cpp_reader*, cpp_token const*, unsigned char*, bool) ../../libcpp/lex.cc:4164 0x19f5df7 cpp_token_as_text(cpp_reader*, cpp_token const*) ../../libcpp/lex.cc:4180 0x19efabc _cpp_parse_expr ../../libcpp/expr.cc:1375 0x19e8393 do_if ../../libcpp/directives.cc:2060 0x19e9ca0 _cpp_handle_directive ../../libcpp/directives.cc:557 0x1a0632d _cpp_scan_out_logical_line ../../libcpp/traditional.cc:776 0x1a06a90 _cpp_read_logical_line_trad ../../libcpp/traditional.cc:321 0x76d287 scan_translation_unit_trad ../../gcc/c-family/c-ppoutput.cc:420 0x76d287 preprocess_file(cpp_reader*) ../../gcc/c-family/c-ppoutput.cc:97 0x76b748 c_common_init() ../../gcc/c-family/c-opts.cc:1214 0x6a6826 lang_dependent_init ../../gcc/toplev.cc:1834 0x6a6826 do_compile ../../gcc/toplev.cc:2129