[Bug middle-end/14084] Reg allocator changes REG_EXPR
zlomek at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 9 17:06:00 GMT 2004
------- Additional Comments From zlomek at gcc dot gnu dot org 2004-02-09 17:06 -------
> I see the problem here:
> (subreg/s:SI (reg/v:DI 118 [ repcount ]) 4)
> is changed to
> (reg:SI 30 [orig:118 repcount+4 ] [118])
Maybe I did not make myself clear.
IMHO the problem is that REG_EXPR is changed, i.e. [ repcount ] is changed to [
repcount+4 ].
If it it correct to have there [repcount+4] (because of the SImode) then it is
not correct following insn because repcount also has SImode but "repcount" in
REG_EXPR:
(insn 4 3 5 0 (set (reg:SI 0 0 [orig:119 repcount ] [119])
(reg:SI 0 0 [orig:118 repcount+4 ] [118])) 303 {*movsi_internal1} (nil)
(nil))
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14084
More information about the Gcc-bugs
mailing list