Commit d8b679b9 by Richard Kenner

(untyped_call): Make it return a complex double.

From-SVN: r9464
parent 3e4a14ef
......@@ -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++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment