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);
}
```
