[Bug c/105972] New: [12/13 Regression] ICE in lower_stmt, at gimple-low.cc:312
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue Jun 14 10:27:34 GMT 2022
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
More information about the Gcc-bugs
mailing list