From cf6a5491cbc6ad143380e447e9c66eca884b36f5 Mon Sep 17 00:00:00 2001
From: Mark Mitchell <mmitchel@gcc.gnu.org>
Date: Sat, 27 Apr 2002 00:26:36 +0000
Subject: [PATCH] re PR bootstrap/6445 (ICE bootstrapping objc for i386-rtems)

	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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 868f4b0127e0..972564b33771 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -13686,7 +13686,7 @@
      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))
-- 
GitLab