PATCH: remove const/pure attribute from builtin gamma/lgamma

Roger Sayle roger@eyesopen.com
Wed Nov 1 01:36:00 GMT 2006


On Tue, 31 Oct 2006, Kaveh R. GHAZI wrote:
> 2006-10-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
>
> 	* builtins.def (gamma, lgamma): Use ATTR_MATHFN_FPROUNDING_STORE.
>
> testsuite:
> 	* gcc.dg/torture/builtin-attr-1.c: Don't test gamma/lgamma.
> 	* gcc.dg/torture/builtin-convert-1.c: Don't test lgamma.

This is OK for all branches.  Thanks.

Who on earth comes up with these APIs?!  Does this mess things up for
compile-time evalution, or do we need a -fno-signgam-math option! :-)

Roger
--



More information about the Gcc-patches mailing list