http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55672
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-17 10:51:45 UTC --- Indeed, with LRA forced off reload replaces the (insn 6 3 7 2 (set (reg:CCZ 17 flags) (compare:CCZ (mem/c:SI (plus:SI (reg/f:SI 20 frame) (const_int -32 [0xffffffffffffffe0])) [2 x+0 S4 A32]) (const_int 4 [0x4]))) pr55672.c:4 7 {*cmpsi_1} (nil)) insn (only reference to frame register) with (insn 6 3 7 2 (set (reg:CCZ 17 flags) (compare:CCZ (mem/c:SI (reg/f:SI 7 sp) [2 x+0 S4 A32]) (const_int 4 [0x4]))) pr55672.c:4 7 {*cmpsi_1} (nil)) while LRA doesn't eliminate it.