public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/105972] New: [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312
@ 2022-06-14 10:27 gscfq@t-online.de
  2022-06-15  9:06 ` [Bug c/105972] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2022-06-14 10:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105972
           Summary: [12/13 Regression] ICE in lower_stmt, at
                    gimple-low.cc:312
           Product: gcc
           Version: 13.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 20211017 and 20211024 :
(gcc configured with --enable-checking=yes)


$ cat z1.c
__attribute__((optimize(0)))
int f ()
{
  int g ()
}


$ gcc-13-20220612 -c z1.c -g -O2
z1.c: In function 'g':
z1.c:5:1: error: expected declaration specifiers before '}' token
    5 | }
      | ^
z1.c:6: error: expected '{' at end of input
z1.c: In function 'f':
z1.c:5:1: error: expected declaration or statement at end of input
    5 | }
      | ^
during GIMPLE pass: lower
z1.c:2:5: internal compiler error: in lower_stmt, at gimple-low.cc:312
    2 | int f ()
      |     ^
0x1c2901d lower_stmt
        ../../gcc/gimple-low.cc:312
0x1c2901d lower_sequence
        ../../gcc/gimple-low.cc:217
0x1c27d79 lower_gimple_bind
        ../../gcc/gimple-low.cc:475
0x1c291a8 lower_function_body
        ../../gcc/gimple-low.cc:110
0x1c291a8 execute
        ../../gcc/gimple-low.cc:195

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

end of thread, other threads:[~2023-02-10 17:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14 10:27 [Bug c/105972] New: [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 gscfq@t-online.de
2022-06-15  9:06 ` [Bug c/105972] " rguenth at gcc dot gnu.org
2022-06-16 13:54 ` [Bug c/105972] [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312 since r12-4608-gb4702276615ff8d4 marxin at gcc dot gnu.org
2022-07-25 16:01 ` rguenth at gcc dot gnu.org
2022-07-25 16:01 ` rguenth at gcc dot gnu.org
2023-01-11 12:05 ` marxin at gcc dot gnu.org
2023-01-11 14:24 ` jakub at gcc dot gnu.org
2023-01-11 14:25 ` jakub at gcc dot gnu.org
2023-01-11 21:20 ` cvs-commit at gcc dot gnu.org
2023-02-10 17:45 ` [Bug c/105972] [12 " cvs-commit at gcc dot gnu.org
2023-02-10 17:55 ` 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).