From d8b679b944c7fbffdcb8df1ff8d68d5909b9678b Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 25 Apr 1995 19:10:10 -0400 Subject: [PATCH] (untyped_call): Make it return a complex double. From-SVN: r9464 --- gcc/config/i386/i386.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index e815346ab4b..2d91e767cdd 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -5236,7 +5236,14 @@ { int i; - emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx)); + /* In order to give reg-stack an easier job in validating two + coprocessor registers as containing a possible return value, + simply pretend the untyped call returns a complex long double + value. */ + emit_call_insn (TARGET_80387 + ? gen_call_value (gen_rtx (REG, XCmode, FIRST_FLOAT_REG), + operands[0], const0_rtx) + : gen_call (operands[0], const0_rtx)); for (i = 0; i < XVECLEN (operands[2], 0); i++) { -- 2.30.2