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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
[apinski@xeond2 gcc]$ ./cc1 t.c
t.c:2:1: error: unterminated raw string
    2 | X
      | ^
t.c:2:1: internal compiler error: Segmentation fault
0x2610edf internal_error(char const*, ...)
       
/home/apinski/src/upstream-gcc-match/gcc/gcc/diagnostic-global-context.cc:517
0x112912f crash_signal
        /home/apinski/src/upstream-gcc-match/gcc/gcc/toplev.cc:322
0x26a1b2d paste_tokens
        /home/apinski/src/upstream-gcc-match/gcc/libcpp/macro.cc:1051
0x26a4d74 paste_all_tokens
        /home/apinski/src/upstream-gcc-match/gcc/libcpp/macro.cc:1150
0x26a4d74 cpp_get_token_1
        /home/apinski/src/upstream-gcc-match/gcc/libcpp/macro.cc:3028
0xaf5bfa get_token
        /home/apinski/src/upstream-gcc-match/gcc/gcc/c-family/c-lex.cc:311
0xaf5bfa c_lex_with_flags(tree_node**, unsigned long*, unsigned char*, int)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/c-family/c-lex.cc:574
0xa3e7f9 c_lex_one_token
        /home/apinski/src/upstream-gcc-match/gcc/gcc/c/c-parser.cc:329
0xa8ad20 c_parser_peek_token(c_parser*)
        /home/apinski/src/upstream-gcc-match/gcc/gcc/c/c-parser.cc:533
0xa8ad20 c_parse_file()
        /home/apinski/src/upstream-gcc-match/gcc/gcc/c/c-parser.cc:29794
0xb0b641 c_common_parse_file()
        /home/apinski/src/upstream-gcc-match/gcc/gcc/c-family/c-opts.cc:1379
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to