https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106991
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Keywords| |missed-optimization
CC| |hubicka at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
Last reconfirmed| |2022-09-21
Component|tree-optimization |ipa
Status|UNCONFIRMED |NEW
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like inlining decisions decide to inline new but not delete but for -Os
we inline none and elide the new/delete pair.
Maybe we can devise some inline hints to keep pairs?