On 24/08/18 18:25 +0200, Marc Glisse wrote:
Hello,
this makes the throwing and non-throwing versions of operator new more
consistent with respect to __attribute__((malloc)). The throwing
versions are already unconditionally declared with DECL_IS_MALLOC = 1
in the front-end.
Bootstrap+regtest on powerpc64le-unknown-linux-gnu. I manually checked
that the attribute has an effect.
2018-08-25 Marc Glisse <marc.gli...@inria.fr>
PR libstdc++/86822
* libsupc++/new (operator new(size_t, nothrow_t), operator
new[](size_t, nothrow_t), operator new(size_t, align_val_t, nothrow_t),
operator new[](size_t, align_val_t, nothrow_t)): Add malloc attribute.
OK, thanks.