This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ patch] Set attributes for C++ runtime library calls


> 
> This should be a C++ front-end bug.  The specific operator new
> from <new> used in this placement-new should be folded,
> even if -fno-inline.  Jason, is this something easily fixable?
> 
> After overload resolution, we know exactly which operator new
> we are picking, and we know it is the one coming from the
> implementation with its definition.  So we should be good to go.

Great!  I think this is quite important starting point to get some
heap optimizations done in middle-end :)

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]