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: Steve Ellcey <sje at cup dot hp dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 Apr 2011 14:09:49 -0700
- Subject: Re: [PATCH] use build_function_type_list in the ia64 backend
- References: <20110420192919.GE6507@nightcrawler> <20110420200309.GR23480@codesourcery.com>
- Reply-to: sje at cup dot hp dot com
On Wed, 2011-04-20 at 13:03 -0700, Nathan Froyd wrote:
> 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
I am not sure what the patch would look like then. You removed the
assignment to decl, so what are you putting in ia64_builtins? Can you
send the full correct patch.
Steve Ellcey
sje@cup.hp.com