[Bug middle-end/30521] "if (i == n) ++i;" or "i += i == n;"?

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 22 00:29:00 GMT 2007



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-01-22 00:29 -------
CSE is pushing i+=1; down into the conditional which causes ifcvt not to catch
the  if(i) i+=1;.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
 GCC target triplet|                            |i?86-linux
           Keywords|                            |missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-22 00:29:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30521



More information about the Gcc-bugs mailing list