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]: Add some more builtins opts for sqrt/cbrt


On Sat, Mar 27, 2004 at 07:05:32PM -0500, Kaveh R. Ghazi wrote:
> -	      tree powfn = mathfn_built_in (type, BUILT_IN_POW);
> +	      tree powfn = (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_SQRT)
> +		? implicit_built_in_decls[BUILT_IN_POW] :
...

This would suggest that TYPE is wrong in that call then.



r~


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