This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: RFA add case to purge addressof
- From: Roger Sayle <roger at eyesopen dot com>
- To: Eric Christopher <echristo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 27 Oct 2003 19:41:07 -0700 (MST)
- Subject: Re: PATCH: RFA add case to purge addressof
On Mon, 27 Oct 2003, Eric Christopher wrote:
> In a note on an insn like this:
>
> (set (reg:DI xx)
> (reg:DI yy))
>
> we have a note:
>
> (REG_RETVAL (REG_EQUAL (float_extend:DF (mem:sf (addressof:SI (reg:DI
> zz)))
This doesn't look right. The mode of the REG_EQUAL note should be
the same as the modes of the SET_SRC and SET_DEST. Did you mistype
the SET insn quoted above? Or how did the REG_EQUAL note and the set
come to have different modes? The code to add FLOAT_EXTEND REG_EQUAL
notes in convert_move looks like it keeps the modes straight.
Roger
--