------- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-29 04:37 ------- We can optimize this by doing either of two things: 1) change iv-opts back to produce != 2) a) have loop-iv.c keep /s/u for the subreg b) optimize (eq (subreg/s (reg)) (const_int 0) ) to (eq (reg) (const_int 0)).
Both will fix the issue, I can test 2 as that is easy to implement and I already have it done, I just need to test it fully. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-08-29 04:37:23 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37263