Bernd Schmidt <ber...@codesourcery.com> writes:

> This is bug that triggers on m68k. The loop unroller creates a MULT
> expression and tries to force it into a register, which causes a libcall
> to be generated. Since args are pushed we create a
>   (use (mem (plus virtual_outgoing_args scratch)))
> in CALL_INSN_FUNCTION_USAGE. Since we're past vregs, the
> virtual_outgoing_args rtx survives to reload, which blows up.
>
> Fixed by just using stack_pointer_rtx, since we use a scratch anyway
> rather than a known offset. I also noticed that we actually add two of
> these USEs, so I've fixed that as well.
>
> Bootstrapped and tested on x86_64-linux, ok?

Any news on this?

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to