Must mode of set and REG_EQUIV note match?

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Tue Sep 13 12:43:00 GMT 2005


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



More information about the Gcc mailing list