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]

More info on reload bug


Hi,

Here is some info on the reload_reg_free_for_value_p bug. The new
reload turns

(insn:HI 277 275 280 (set (mem/s:SI (plus:SI (reg/v:SI 29)
                (const_int 64)))
        (plus:SI (reg/v:SI 29)
            (const_int 68))) 142 {addsi3+1} (nil)
    (nil))

into

(insn:HI 277 275 667 (set (reg:SI 4 %esi)
        (plus:SI (reg:SI 4 %esi)
            (const_int 68))) 142 {addsi3+1} (nil)
    (nil))
(insn 667 277 280 (set (mem/s:SI (plus:SI (reg:SI 4 %esi)
                (const_int 64)))
        (reg:SI 4 %esi)) -1 (nil)
    (nil))

That is completely wrong. Can it be fixed?

Thanks.


-- 
H.J. Lu (hjl@gnu.org)


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