https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124151
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Target Milestone|--- |13.5
Last reconfirmed| |2026-02-18
Summary|internal compiler error: in |[13/14/15/16 Regression]
|analyze_access_subtree, at |internal compiler error: in
|tree-sra.cc:2935 |analyze_access_subtree, at
| |tree-sra.cc:2935
Ever confirmed|0 |1
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Totto from comment #3)
> I saw that bug, when searching for similar ones, but it seemed to be
> something different, but I might be wrong on that end :(
It is related though.
Reduced testcase:
```
typedef struct {
bool : 1;
} a;
typedef struct {
bool b;
a e;
} c;
typedef struct {
a e;
bool d;
} g;
typedef struct {
union {
c data;
g continuation;
};
} f;
void h() {
g i = {.d = h};
f a = {.continuation = i};
}
```
Note the above testcase only ICEs with checking enabled (-O2 -fchecking).
the struct a was originally:
```
typedef struct {
bool _reserved : 1;
uint32_t identifier : 31;
} Http2Identifier;
```
Note the original testcase also ICEs without checking, let me try to reduce
that too.