------- 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 0x80000000 0x1 (OF <- 1) cmpl 0x7fffffff (OF <- 0) -- evancheng at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24418