re PR target/19379 (ICE during build of newlib's e_atan2.c when soft-float)
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
This commit is contained in:
parent
d6e84d0cdd
commit
de004e6db5
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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,
|
||||
|
|
|
@ -1557,6 +1557,10 @@ override_options (void)
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue