From: Richard Kenner Date: Tue, 25 Apr 1995 23:10:10 +0000 (-0400) Subject: (untyped_call): Make it return a complex double. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8b679b944c7fbffdcb8df1ff8d68d5909b9678b;p=gcc.git (untyped_call): Make it return a complex double. From-SVN: r9464 --- 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++) {