Commit 80a3ad45 by Jim Wilson

(expand_call): Disable special handling for const calls

that return a PARALLEL rtx.

From-SVN: r13084
parent c647c985
......@@ -1912,8 +1912,9 @@ expand_call (exp, target, ignore)
/* If call is cse'able, make appropriate pair of reg-notes around it.
Test valreg so we don't crash; may safely ignore `const'
if return type is void. */
if (is_const && valreg != 0)
if return type is void. Disable for PARALLEL return values, because
we have no way to move such values into a pseudo register. */
if (is_const && valreg != 0 && GET_CODE (valreg) != PARALLEL)
{
rtx note = 0;
rtx temp = gen_reg_rtx (GET_MODE (valreg));
......
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