public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/103587] New: [10/11/12 Regression] ICE in c_parser_consume_token, at c/c-parser.c:850
@ 2021-12-06 20:20 gscfq@t-online.de
  2021-12-06 21:24 ` [Bug c/103587] " pinskia at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gscfq@t-online.de @ 2021-12-06 20:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103587
           Summary: [10/11/12 Regression] ICE in c_parser_consume_token,
                    at c/c-parser.c:850
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20191110 and 20191117 :


$ cat z1.c
[[abc(
#pragma omp simd


$ gcc-10-20191110 -c z1.c -fopenmp
z1.c:1:1: error: expected identifier or '(' before '[' token
    1 | [[abc(
      | ^


$ gcc-12-20211205 -c z1.c -fopenmp
z1.c:2:9: internal compiler error: in c_parser_consume_token, at
c/c-parser.c:850
    2 | #pragma omp simd
      |         ^~~
0x78afa7 c_parser_consume_token(c_parser*)
        ../../gcc/c/c-parser.c:850
0x78c55f c_parser_balanced_token_sequence
        ../../gcc/c/c-parser.c:4850
0x79e41f c_parser_std_attribute
        ../../gcc/c/c-parser.c:4956
0x79e41f c_parser_std_attribute_specifier
        ../../gcc/c/c-parser.c:4998
0x79e529 c_parser_std_attribute_specifier_sequence
        ../../gcc/c/c-parser.c:5114
0x7955ce c_parser_declspecs(c_parser*, c_declspecs*, bool, bool, bool, bool,
bool, bool, bool, c_lookahead_kind)
        ../../gcc/c/c-parser.c:2826
0x7b0669 c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:1997
0x7b930f c_parser_external_declaration
        ../../gcc/c/c-parser.c:1779
0x7b9c3b c_parser_translation_unit
        ../../gcc/c/c-parser.c:1652
0x7b9c3b c_parse_file()
        ../../gcc/c/c-parser.c:23279
0x80b0e2 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1238

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-05-10 10:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 20:20 [Bug c/103587] New: [10/11/12 Regression] ICE in c_parser_consume_token, at c/c-parser.c:850 gscfq@t-online.de
2021-12-06 21:24 ` [Bug c/103587] " pinskia at gcc dot gnu.org
2021-12-07  8:22 ` [Bug c/103587] [10/11/12 Regression] ICE in c_parser_consume_token, at c/c-parser.c:850 since r10-4633-g4e03c3a7c1149a8e marxin at gcc dot gnu.org
2021-12-07  9:07 ` rguenth at gcc dot gnu.org
2021-12-07  9:07 ` rguenth at gcc dot gnu.org
2021-12-10 14:22 ` jakub at gcc dot gnu.org
2021-12-10 14:26 ` jakub at gcc dot gnu.org
2021-12-14 11:03 ` cvs-commit at gcc dot gnu.org
2021-12-14 12:24 ` [Bug c/103587] [10/11 " jakub at gcc dot gnu.org
2022-01-24  9:20 ` cvs-commit at gcc dot gnu.org
2022-01-24  9:30 ` [Bug c/103587] [10 " jakub at gcc dot gnu.org
2022-05-10  8:22 ` cvs-commit at gcc dot gnu.org
2022-05-10 10:15 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).