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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #19 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
With Jakub's __builtin_operator_new we now optimize out the code if main is
renamed to something else.  With main we know it is executed once and we keep
destructor offline which prevents from matching new/delete pairs.

It may be bit tricky to implement, but we probably do want to track this
inter-proceduraly since destructors are often not inlined in EH cleanups that
are also optimized for size.

Reply via email to