This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch: subreg_regno_offset() being called with a pseudo


On Fri, 2001-09-07 at 17:54, Richard Henderson wrote:
> 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

oh

> pseudo as a register, which means that it's going to DTWT
> when reloading to !(GP_REGS | FP_REGS).

what?! are you remotely implying that the mips port is at fault?  bah.
unlikely.

:)

> 
> 
> r~

thanks

-- 
Aldy Hernandez					E-mail: aldyh@redhat.com
Professional Gypsy
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]