This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32027] [4.3 Regression] The "DO" variable isn't consistent after loop
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2007 22:02:51 -0000
- Subject: [Bug fortran/32027] [4.3 Regression] The "DO" variable isn't consistent after loop
- References: <bug-32027-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-05-21 23:02 -------
Subject: Bug 32027
Author: fxcoudert
Date: Mon May 21 22:02:26 2007
New Revision: 124923
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124923
Log:
PR fortran/32027
* trans-stmt.c (gfc_trans_do): Fix the value of loop variable
when the loop ends.
* gfortran.dg/do_3.F90: Add checks for the final value of the
loop variable.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-stmt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/do_3.F90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32027