This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] use build_function_type_list in the ia64 backend
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: sje at cup dot hp dot com
- Date: Wed, 20 Apr 2011 13:03:09 -0700
- Subject: Re: [PATCH] use build_function_type_list in the ia64 backend
- References: <20110420192919.GE6507@nightcrawler>
On Wed, Apr 20, 2011 at 03:29:19PM -0400, Nathan Froyd wrote:
> As $SUBJECT suggests. Tested with cross to ia64-linux-gnu. OK to
> commit?
>
> - ftype = build_function_type (float128_type, void_list_node);
> - decl = add_builtin_function ("__builtin_infq", ftype,
> - IA64_BUILTIN_INFQ, BUILT_IN_MD,
> - NULL, NULL_TREE);
> - ia64_builtins[IA64_BUILTIN_INFQ] = decl;
> + ftype = build_function_type_list (float128_type, NULL_TREE);
> + add_builtin_function ("__builtin_infq", ftype,
> + IA64_BUILTIN_INFQ, BUILT_IN_MD,
> + NULL, NULL_TREE);
Of course, the patch I tested didn't delete the assignment to
ia64_builtins. Please disregard that bit.
-Nathan