This is the mail archive of the gcc@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]

Must mode of set and REG_EQUIV note match?


Hello,

I have the following insn:

(insn 522 521 523 87 (set (reg:SI 308)
        (reg:SI 0 ax)) 40 {*movsi_1} (nil)
    (insn_list:REG_RETVAL 520 (expr_list:REG_EQUAL (parity:DI (reg:DI 248 [ D.1874 ]))
            (nil))))

Is this correct? I have a piece of code that breaks if mode of the
assigned register is not equal to mode of the expression in REG_EQUAL
note, and I wonder whether I should be fixing this piece of code, or the
code that sets the REG_EQUAL note on this insn.

Zdenek


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