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

            Bug ID: 128536
           Summary: internal compiler error: in
                    finish_bitfield_representative, at stor-layout.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
void foo (_Atomic int x)
{
  struct S { int i[x]; unsigned int b : 1; } s;
}
```

Resulted in this output:
```
<source>:3:10: internal compiler error: in finish_bitfield_representative, at
stor-layout.cc:2107
```

Trunk reproducer: https://godbolt.org/z/hbWeznoe9

Reply via email to