Re: Add fnspec to C++ new and delete

2020-11-06 Thread Christophe Lyon via Gcc-patches
Hi, On Tue, 27 Oct 2020 at 11:22, Jan Hubicka wrote: > > Hi, > this patch makes C++ new and delete operators to be handled as > malloc/free for fnspec. > > I still do not understand why free is ".co " and not ".cO ". > I do not think we need to invalidate memory referenced to by blockbeing > free

Re: Add fnspec to C++ new and delete

2020-11-03 Thread Richard Biener
On Tue, 27 Oct 2020, Jan Hubicka wrote: > Hi, > this patch makes C++ new and delete operators to be handled as > malloc/free for fnspec. > > I still do not understand why free is ".co " and not ".cO ". > I do not think we need to invalidate memory referenced to by blockbeing > freed. > > Bootstr

Add fnspec to C++ new and delete

2020-10-27 Thread Jan Hubicka
Hi, this patch makes C++ new and delete operators to be handled as malloc/free for fnspec. I still do not understand why free is ".co " and not ".cO ". I do not think we need to invalidate memory referenced to by blockbeing freed. Bootstrapped/regtested x86_64-linux, OK? Honza gcc/ChangeLog: 2