re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 27 Apr 2002 00:26:36 +0000 (00:26 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 27 Apr 2002 00:26:36 +0000 (00:26 +0000)
PR bootstrap/6445
* config/i386/i386.md (untyped_call): Return the value in a float
register if TARGET_FLOAT_RETURNS_IN_80387, not just if
TARGET_80387.

From-SVN: r52824

gcc/config/i386/i386.md

index 868f4b0127e0fc6c742cea31cf72a39f66f65804..972564b337710a2061be101deff40c31afa372cb 100644 (file)
      simply pretend the untyped call returns a complex long double
      value.  */
 
-  emit_call_insn (TARGET_80387
+  emit_call_insn (TARGET_FLOAT_RETURNS_IN_80387
                   ? gen_call_value (gen_rtx_REG (XCmode, FIRST_FLOAT_REG),
                                    operands[0], const0_rtx,
                                    GEN_INT (SSE_REGPARM_MAX - 1))