https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118216
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |13.1.0 Component|middle-end |tree-optimization Depends on| |23384 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2024-12-27 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. There is a missed optimization because escape analysis is NOT flow sensitive (see PR 23384) and even harder then because it needs to be understand the start and end of a variable lifetime which does not happen at all at the gimple level (end exists (clobber) but not begining). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23384 [Bug 23384] escaped set should be flow sensitive