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, commited] PR other/30182, Fix __builtin_finite on HP-UX


> > +#if TARGET_HPUX
> > +  if (built_in_decls [BUILT_IN_FINITE])
> > +    set_user_assembler_name (built_in_decls [BUILT_IN_FINITE], "_Isfinite");
> > +  if (built_in_decls [BUILT_IN_FINITEF])
> > +    set_user_assembler_name (built_in_decls [BUILT_IN_FINITEF], "_Isfinitef");
> 
> In HP-UX 10, the names are finite and finitef.

Oops, I don't have any HP-UX 10 systems anymore and didn't know that.
We have a TARGET_HPUX_11_11 macro, but that doesn't get set for 11.00
and 11.00 does use the _Isfinite* names.

Should we create a TARGET_HPUX_11 or TARGET_HPUX_11_00 macro to use
for this?  We could put it in config/pa/pa-hpux11.h.  Do you have a
name preference?

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]