[Bug tree-optimization/120833] gcc does not recognize tail calls with converting between like structs
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 26 14:54:26 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120833
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
get_s2 is harder and requires store/load merging:
```
_1 = x.data;
_2 = x.size;
D.4700.data = _1;
D.4700.size = _2;
```
Which does not happen because the current store/load merging pass only takes
into account up to the register size rather than more.
More information about the Gcc-bugs
mailing list