https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107503
--- Comment #3 from Andrew Pinski ---
I wonder if the late (return/argument) SRA pass that would provide this
information or not ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107503
Richard Biener changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107503
--- Comment #1 from Andrew Pinski ---
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.