[Bug middle-end/122348] [13/14/15/16 Regression] ICE: in store_constructor, at expr.cc:7565

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 30 16:34:38 GMT 2025


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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
struct S {
    int a;
    int b[];
};
const struct S s = { 0, { 42 } };
void foo(struct S arg);
void f(void) {
    foo(s);
}
```


More information about the Gcc-bugs mailing list