This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: regmove fixups vs pseudos
DJ Delorie <dj@redhat.com> writes:
> > The destination register which is set by a CALL will normally be
> > FUNCTION_VALUE, which is normally a hard register.
>
> dst is not the destination of the call, it's the destination of the
> SET/PLUS that's being optimized.
Sorry, I misread.
In fact, you're right, this seems clearly wrong, since the only caller
of fixup_match_2 actually checks to avoid passing in a hard register.
Ian