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]
Other format: [Raw text]

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
--


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