https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128527
Bug ID: 128527
Summary: internal compiler error: in
ix86_finalize_stack_frame_flags, at
config/i386/i386.cc
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: 0599jiangyc at gmail dot com
Target Milestone: ---
The following code:
```c
int a[128];
void f (void)
{
for (short i = 0; i < 64; i++)
a[i] = i;
}
```
Resulted in this output:
```
<source>:6:1: internal compiler error: in ix86_finalize_stack_frame_flags, at
config/i386/i386.cc:9056
```
Trunk reproducer (`-O2 -fstrub=all -fno-omit-frame-pointer`):
https://godbolt.org/z/987WhaeKG