FX <[email protected]> writes:
>> FWIW, those FP_* values are also enum values in IRIX 6.5 <ieeefp.h>, the
>> only other SysV target I have around. Seems this file is common between
>> all of them, so the risk should be manageable.
>>
>> The following patch does away with the #ifdef stuff and lets all
>> gfortran.dg/ieee tests PASS on sparc-sun-solaris2.11.
>
> Google for a few more targets (BSD, cygwin, etc.) confirms that there is
> little variation in this part of the file.
>
> Given that your patch fixes a target, and sounds good to both you and me, I
> suggest you commit it in 24 hours unless someone objects (or you get an
> actual review).
ok, thanks.
> Also, related to that: could you also confirm that FP_X_INV (and others)
> are indeed macros, on solaris?
I already did, and the rounding mode related ones are the only enums
currently used. There's also fpclass_t, but that's not used right now.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University