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: [PATCH] Perform constant folding of math builtins


Roger Sayle <roger@eyesopen.com> writes:

A small nit:

| + /* Determine whether a tree node represents a call to a built-in
| +    math function.  If the tree T is a call to a built-in function
| +    taking a single real argument, then the return value is the
| +    DECL_FUNCTION_CODE of the call, e.g. BUILT_IN_SQRT.  Otherwise
| +    the return value is END_BUILTINS.  */
| +
| + enum built_in_function
| + builtin_mathfn_p (t)

This really isn't a predicate; builtin_mathfn_code?

I'm glad to see your continueing constant work in this area.

Thanks,

-- Gaby


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