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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-01-19
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  We're keying on DECL_IS_REPLACEABLE_OPERATOR_NEW_P which it seems
the
std::nothrow variant is not.  There's also valid_new_delete_pair_p for
eliding pairs of new/delete if otherwise unused, the nothrow variants do
seem to be handled there.

The std::nothrow variant is DECL_IS_OPERATOR_NEW_P but it's not marked
replaceable.

Reply via email to