https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58483

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |15.0
         Resolution|---                         |FIXED

--- Comment #26 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The operator new/delete issue is fixed in GCC 15 as you can see by doing
`s/main/f/` and seeing that GCC 15 is able to optimize into an empty function
at both -O2 and -O3.

GCC 16 changed inling heurstics for main slightly and now GCC is able to
optimize it to an empty function at -O2.

So closing as fixed for GCC 15 with the additional issue fixed for GCC 16.

Reply via email to