[Bug rtl-optimization/24418] Redudant compare to zero not eliminated

2005-10-17 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-18 00:09 --- and yes eax/reg 68 (or n) is dead after the compare in combine: (insn 37 36 39 3 (parallel [ (set (reg/v:SI 68 [ n ]) (minus:SI (reg:SI 71) (reg/v:SI 66 [ med ])))

[Bug rtl-optimization/24418] Redudant compare to zero not eliminated

2005-10-17 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-18 00:07 --- This is a partial regression from 2.95.3 and 3.3.3, 3.2.3 and 3.0.4: where we had: subl 28(%ebp),%eax jne .L7 ... .L7: testl %eax,%eax jle .L8 -- pinskia at gcc dot gnu dot org cha

[Bug rtl-optimization/24418] Redudant compare to zero not eliminated

2005-10-17 Thread evancheng at gcc dot gnu dot org
--- Comment #1 from evancheng at gcc dot gnu dot org 2005-10-18 00:02 --- Created an attachment (id=10014) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10014&action=view) C test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24418