https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118076
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-12-17 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Severity|normal |enhancement Depends on| |70094 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. I suspect fixing PR 70094 fully will fix this one too; the only difference between this one and PR 70094 is that one contains constants while here we don't. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70094 [Bug 70094] missed optimization when passing a constant struct argument by value