[Bug target/24418] Redudant compare to zero not eliminated

2005-10-25 Thread evancheng at gcc dot gnu dot org
--- Comment #4 from evancheng at gcc dot gnu dot org 2005-10-25 22:55 --- Closing this. It's not a bug. It's not safe to eliminate the cmpl. Its result are read by je and jg: je reads ZF, jg reads ZF and OF. Now consider subl 0x8000 0x1 (OF <- 1) cm

[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

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

2005-10-17 Thread evancheng at gcc dot gnu dot org
u dot org ReportedBy: evancheng at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24418