[PATCH]: Mark builtin erf as an "odd" function

Kaveh R. GHAZI ghazi@caip.rutgers.edu
Fri Nov 10 16:33:00 GMT 2006

On Fri, 10 Nov 2006, [UTF-8] Václav Haisman wrote:

> Kaveh R. GHAZI wrote, On 10.11.2006 15:20:
> [...]
> > I plan to add cosh (hyperbolic) to the "even" list in a followup patch.
> > Can anyone think of any other "even" or "odd" functions among the math
> > builtins we have, or is that it?
> What about abs and friends?
> Vaclav Haisman

True, abs/labs/llabs/fabs/fabsf/fabsl are all "even" functions.  However I
thought that GCC folded all of these functions into ABS_EXPR before I'd
get to see them.  Can you sugest a testcase where I would get
BUILT_IN_FABS et al. as opposed to ABS_EXPR?

Kaveh R. Ghazi			ghazi@caip.rutgers.edu

More information about the Gcc-patches mailing list