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

            Bug ID: 108504
           Summary: [13 Regression] ICE in cp_lexer_handle_early_pragma,
                    at cp/parser.cc:675
           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: ---

Started between 20220703 and 20220710 :


$ cat z1.cc
"1"
#pragma omp target


$ g++-13-20230122 -c z1.cc -fopenmp
z1.cc:2:9: internal compiler error: in cp_lexer_handle_early_pragma, at
cp/parser.cc:675
    2 | #pragma omp target
      |         ^~~
0x90d288 cp_lexer_handle_early_pragma
        ../../gcc/cp/parser.cc:675
0x90d288 cp_lexer_new_main
        ../../gcc/cp/parser.cc:734
0x90d288 c_parse_file()
        ../../gcc/cp/parser.cc:49398
0x9f4e01 c_common_parse_file()
        ../../gcc/c-family/c-opts.cc:1248

Reply via email to