[trans-mem] PR46941: Mark new/delete operators as transaction_pure

Richard Guenther richard.guenther@gmail.com
Tue Jan 18 16:08:00 GMT 2011


On Wed, Jan 12, 2011 at 7:59 PM, Richard Henderson <rth@redhat.com> wrote:
> On 01/12/2011 10:38 AM, Aldy Hernandez wrote:
>>       * cp/decl.c (push_cp_library_fn): Mark function as
>>       transaction_pure.
>
> Ok.

Btw, we've virorously fought adding a malloc attribute here for years
but C++ maintainers keep arguing people can arbitrarily override
this function.  So how's it now suddenly transaction-safe?

Richard.

>
> r~
>
>



More information about the Gcc-patches mailing list