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/55593] [4.8 Regression] Bogus error on passing DO LOOP variable


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

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2012-12-09 09:15:42 UTC ---
Author: tkoenig
Date: Sun Dec  9 09:15:36 2012
New Revision: 194329

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

    PR fortran/55593
    * frontend-passes.c (doloop_code):  Use resolved_sym
    instead of n.sym->formal for formal argument list
    to get the correct version for all generic subroutines.

2012-12-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/55593
    * gfortran.dg/do_check_8.f90:  New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/do_check_8.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]