2005-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
PR target/19379
* config/i386/i386.c (override_options): If the 80387 is disabled,
then do not return FP values using FP registers.
From-SVN: r93833
+2005-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ PR target/19379
+ * config/i386/i386.c (override_options): If the 80387 is disabled,
+ then do not return FP values using FP registers.
+
2005-01-18 Kazu Hirata <kazu@cs.umass.edu>
* basic-block.h, c-common.c, c-cppbuiltin.c, c-lang.c,
error ("bad value (%s) for -mfpmath= switch", ix86_fpmath_string);
}
+ /* If the i387 is disabled, then do not return values in it. */
+ if (!TARGET_80387)
+ target_flags &= ~MASK_FLOAT_RETURNS;
+
if ((x86_accumulate_outgoing_args & TUNEMASK)
&& !(target_flags_explicit & MASK_ACCUMULATE_OUTGOING_ARGS)
&& !optimize_size)