> 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). Also, related to that: could you also confirm that FP_X_INV (and others) are indeed macros, on solaris? FX