This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Add malloc predictor (PR middle-end/83023).
On Fri, 27 Jul 2018, Martin Liška wrote:
So answer is yes, the builtin can be then removed.
Good, thanks. While looking at how widely it is going to apply, I noticed
that the default, throwing operator new has attribute malloc and
everything, but the non-throwing variant declared in <new> doesn't, so it
won't benefit from the new predictor. I don't know if there is a good
reason for this disparity...