public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102433] New: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293
@ 2021-09-21 19:19 gscfq@t-online.de
  2021-09-22  6:58 ` [Bug c++/102433] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2021-09-21 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102433
           Summary: [11/12 Regression] ICE in ~saved_token_sentinel, at
                    cp/parser.c:1293
           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 20210404 and 20210411 :
(gcc configured with --enable-checking=yes)


$ cat z1.cc
void f ()
{
  #pragma omp task depend(in:this)
  ;
}


$ g++-12-20210919 -c z1.cc -fopenmp
z1.cc: In function 'void f()':
z1.cc:3:29: error: invalid use of 'this' in non-member function
    3 |   #pragma omp task depend(in:this)
      |                             ^
z1.cc:4:3: internal compiler error: in ~saved_token_sentinel, at
cp/parser.c:1293
    4 |   ;
      |   ^
0x8f2770 saved_token_sentinel::~saved_token_sentinel()
        ../../gcc/cp/parser.c:1293
0x8f2770 cp_parser_statement
        ../../gcc/cp/parser.c:12062
0x8f2894 cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:12713
0x8f2977 cp_parser_compound_statement
        ../../gcc/cp/parser.c:12662
0x9182f0 cp_parser_function_body
        ../../gcc/cp/parser.c:24893
0x9182f0 cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/cp/parser.c:24944
0x91896a cp_parser_function_definition_after_declarator
        ../../gcc/cp/parser.c:31066
0x919be4 cp_parser_function_definition_from_specifiers_and_declarator
        ../../gcc/cp/parser.c:30982
0x919be4 cp_parser_init_declarator
        ../../gcc/cp/parser.c:22427
0x8ef1c2 cp_parser_simple_declaration
        ../../gcc/cp/parser.c:15133
0x920d5e cp_parser_declaration
        ../../gcc/cp/parser.c:14819
0x921985 cp_parser_translation_unit
        ../../gcc/cp/parser.c:4978
0x921985 c_parse_file()
        ../../gcc/cp/parser.c:47694
0xaa4682 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1236

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

* [Bug c++/102433] [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293
  2021-09-21 19:19 [Bug c++/102433] New: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 gscfq@t-online.de
@ 2021-09-22  6:58 ` rguenth at gcc dot gnu.org
  2021-09-27 13:19 ` [Bug c++/102433] [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 since r11-8118-g82198676c80764ca marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-22  6:58 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.3

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

* [Bug c++/102433] [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 since r11-8118-g82198676c80764ca
  2021-09-21 19:19 [Bug c++/102433] New: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 gscfq@t-online.de
  2021-09-22  6:58 ` [Bug c++/102433] " rguenth at gcc dot gnu.org
@ 2021-09-27 13:19 ` marxin at gcc dot gnu.org
  2022-01-20  9:54 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-27 13:19 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-09-27
            Summary|[11/12 Regression] ICE in   |[11/12 Regression] ICE in
                   |~saved_token_sentinel, at   |~saved_token_sentinel, at
                   |cp/parser.c:1293            |cp/parser.c:1293 since
                   |                            |r11-8118-g82198676c80764ca
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-8118-g82198676c80764ca.

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

* [Bug c++/102433] [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 since r11-8118-g82198676c80764ca
  2021-09-21 19:19 [Bug c++/102433] New: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 gscfq@t-online.de
  2021-09-22  6:58 ` [Bug c++/102433] " rguenth at gcc dot gnu.org
  2021-09-27 13:19 ` [Bug c++/102433] [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 since r11-8118-g82198676c80764ca marxin at gcc dot gnu.org
@ 2022-01-20  9:54 ` rguenth at gcc dot gnu.org
  2022-04-21  7:50 ` rguenth at gcc dot gnu.org
  2023-05-29 10:05 ` [Bug c++/102433] [11/12/13/14 " jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-20  9:54 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

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

* [Bug c++/102433] [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 since r11-8118-g82198676c80764ca
  2021-09-21 19:19 [Bug c++/102433] New: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2022-01-20  9:54 ` rguenth at gcc dot gnu.org
@ 2022-04-21  7:50 ` rguenth at gcc dot gnu.org
  2023-05-29 10:05 ` [Bug c++/102433] [11/12/13/14 " jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-21  7:50 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.3                        |11.4

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.3 is being released, retargeting bugs to GCC 11.4.

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

* [Bug c++/102433] [11/12/13/14 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 since r11-8118-g82198676c80764ca
  2021-09-21 19:19 [Bug c++/102433] New: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 gscfq@t-online.de
                   ` (3 preceding siblings ...)
  2022-04-21  7:50 ` rguenth at gcc dot gnu.org
@ 2023-05-29 10:05 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:05 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.4                        |11.5

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.

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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21 19:19 [Bug c++/102433] New: [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 gscfq@t-online.de
2021-09-22  6:58 ` [Bug c++/102433] " rguenth at gcc dot gnu.org
2021-09-27 13:19 ` [Bug c++/102433] [11/12 Regression] ICE in ~saved_token_sentinel, at cp/parser.c:1293 since r11-8118-g82198676c80764ca marxin at gcc dot gnu.org
2022-01-20  9:54 ` rguenth at gcc dot gnu.org
2022-04-21  7:50 ` rguenth at gcc dot gnu.org
2023-05-29 10:05 ` [Bug c++/102433] [11/12/13/14 " 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).