https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107503
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Real testcase:
```
struct f
{
int *a;
};
int *g();
struct f h()
{
return {g()};
}
```
Sorry I forgot the definition of f before. it was a copy and paste mistake.
