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/30146] Redefining do-variable in excecution cycle


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

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-11-25 17:24:14 UTC ---
Author: tkoenig
Date: Sun Nov 25 17:24:09 2012
New Revision: 193793

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193793
Log:
2012-11-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/30146
    * frontend-passes.c (doloop_warn):  New function.
    (doloop_list):  New static variable.
    (doloop_size):  New static variable.
    (doloop_level):  New static variable.
    (gfc_run_passes): Call doloop_warn.
    (doloop_code):  New function.
    (doloop_function):  New function.
    (gfc_code_walker):  Keep track of DO level.

2012-11-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/30146
    * gfortran.dg/do_check_6.f90:  New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/do_check_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/frontend-passes.c
    trunk/gcc/testsuite/ChangeLog


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