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 fortran/32027] [4.3 Regression] The "DO" variable isn't consistent after loop



------- 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


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