[PATCH] Speed-up __builtin_constant_p (part 2)

Richard Henderson rth@redhat.com
Sat Jan 25 17:01:00 GMT 2003


On Thu, Jan 23, 2003 at 07:52:45AM -0700, Roger Sayle wrote:
> The strategy is to notice that typically relatively few functions
> ever call __builtin_constant_p.

Are you sure about that?  For example, glibc and the linux 
kernel use this builtin in macros, a *lot*.

OTOH, this is cheap enough we might as well.


r~



More information about the Gcc-patches mailing list