This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch: subreg_regno_offset() being called with a pseudo
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: patch: subreg_regno_offset() being called with a pseudo
- From: Aldy Hernandez <aldyh at redhat dot com>
- Date: 07 Sep 2001 18:02:05 -0400
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, Eric Christopher <echristo at redhat dot com>
- References: <999874702.3461.47.camel@culebra.cygnus.com> <20010907145419.D1188@redhat.com>
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.