------- Comment #1 from rguenth at gcc dot gnu dot org  2009-11-03 10:48 -------
It's VRP which does

si1_12: [-104, -104]

Folding statement: if (si1_12 > 0)
Simplified relational if (si1_12 > 0)
 into if (si1_12 == -104)

uh.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |tree-optimization
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
      Known to work|                            |4.4.2
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-03 10:48:06
               date|                            |
            Summary|optimized code with -O2 or -|[4.5 Regression] optimized
                   |O3 gives strange result     |code with -O2 or -O3 gives
                   |                            |strange result
   Target Milestone|---                         |4.5.0


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

Reply via email to