https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128532
Bug ID: 128532
Summary: internal compiler error: in reshape_init, at
cp/decl.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:
```cpp
struct A { int a, b; };
struct S { A x; int c; };
S s = { 1, .b = 2 };
```
Resulted in this output:
```
<source>:3:19: internal compiler error: in reshape_init, at cp/decl.cc:8542
```
Trunk reproducer (`-std=c++17`): https://godbolt.org/z/x3aq5sz3v