[Bug tree-optimization/107503] tail call missed with struct wrapper

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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 ...

[Bug tree-optimization/107503] tail call missed with struct wrapper

2022-11-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107503 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/107503] tail call missed with struct wrapper

2022-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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.