------- Comment #1 from rguenth at gcc dot gnu dot org  2008-07-02 09:36 -------
This is SCCP.  And then both ivcanon and ivopts.  Thus,

 -fno-tree-scev-cprop -fno-ivopts -fno-tree-loop-ivcanon

fixes it.

Confirmed with -O.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org, spop at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |wrong-code
      Known to fail|                            |4.1.1 4.3.1
      Known to work|                            |4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2008-07-02 09:36:54
               date|                            |
            Summary|wrong value left in         |[4.1/4.2/4.3/4.4 Regression]
                   |induction variable          |wrong value left in
                   |                            |induction variable
   Target Milestone|---                         |4.1.3


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

Reply via email to