This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/36691] [4.2 Regression] wrong value left in induction variable



------- Comment #10 from rguenth at gcc dot gnu dot org  2008-08-04 18:32 -------
Subject: Bug 36691

Author: rguenth
Date: Mon Aug  4 18:30:59 2008
New Revision: 138646

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138646
Log:
2008-08-04  Richard Guenther  <rguenther@suse.de>

        PR middle-end/36691
        * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Correctly
        check for no_overflow.

        * gcc.c-torture/execute/pr36691.c: New testcase.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/pr36691.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/tree-ssa-loop-niter.c


------- Comment #11 from rguenth at gcc dot gnu dot org  2008-08-04 18:32 -------
Fixed on the trunk and the 4.3 branch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|rguenth at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW
      Known to work|4.1.0                       |4.1.0 4.3.2 4.4.0
            Summary|[4.2/4.3/4.4 Regression]    |[4.2 Regression] wrong value
                   |wrong value left in         |left in induction variable
                   |induction variable          |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]