https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119958
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |3.4.6 --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ``` Trying 13 -> 14: 13: {r102:DI=r100:DI+[const(unspec[`f'] 7)];clobber flags:CC;} REG_EQUAL `f' REG_UNUSED flags:CC REG_DEAD r100:DI 14: flags:CCZ=cmp(r102:DI,0) Successfully matched this instruction: (parallel [ (set (reg:CCZ 17 flags) (compare:CCZ (plus:DI (reg:DI 100) (mem/u/c:DI (const:DI (unspec:DI [ (symbol_ref/i:DI ("f") [flags 0x60] <var_decl 0x7ed8f91b41c8 f>) ] UNSPEC_GOTNTPOFF)) [2 S8 A8])) (const_int 0 [0]))) (set (reg/f:DI 102) (plus:DI (reg:DI 100) (mem/u/c:DI (const:DI (unspec:DI [ (symbol_ref/i:DI ("f") [flags 0x60] <var_decl 0x7ed8f91b41c8 f>) ] UNSPEC_GOTNTPOFF)) [2 S8 A8]))) ]) allowing combination of insns 13 and 14 original costs 9 + 4 = 13 replacement cost 9 deferring deletion of insn with uid = 13. modifying insn i3 14: {flags:CCZ=cmp(r100:DI+[const(unspec[`f'] 7)],0);r102:DI=r100:DI+[const(unspec[`f'] 7)];} REG_DEAD r100:DI deferring rescan insn with uid = 14. ```