patch: subreg_regno_offset() being called with a pseudo
Richard Henderson
rth@redhat.com
Fri Sep 7 14:54:00 GMT 2001
On Fri, Sep 07, 2001 at 10:58:22AM -0400, Aldy Hernandez wrote:
> the patch below fixes true_regnum so it doesn't assume that reg_renumber
> is valid and then one can always just use true_regnum and it will
> DTRT.
But it doesn't DTRT. Remember: during reload a pseudo is a
memory_operand. mips_secondary_reload_class is treating a
pseudo as a register, which means that it's going to DTWT
when reloading to !(GP_REGS | FP_REGS).
r~
More information about the Gcc-patches
mailing list