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] use build_function_type_list in the ia64 backend


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


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