------- Comment #3 from steven at gcc dot gnu dot org 2009-07-24 06:59 ------- Because HAVE_cc0 is only for cc0 targets, and ARM is not one of those?
You should stop jumping to peepholes for every missed optimization you find. There is a csecc pass (part of cse2) that should handle this. You should try to figure out why that pass can't optimize away your redundant insn. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40835