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/30746] 50th Anniversary Bug - Forward reference to contained function



------- Comment #6 from pault at gcc dot gnu dot org  2007-05-12 07:19 -------
Subject: Bug 30746

Author: pault
Date: Sat May 12 06:19:43 2007
New Revision: 124633

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124633
Log:
2007-05-12  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/30746
        * resolve.c (check_host_association): New function that detects
        incorrect host association and corrects it.
        (gfc_resolve_expr): Call the new function for variables and
        functions.
        * match.h : Remove prototype for gfc_match_rvalue.
        * gfortran.h : Add prototype for gfc_match_rvalue.

2007-05-12  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/30746
        * gfortran.dg/host_assoc_function_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/host_assoc_function_1.f90
    trunk/gcc/testsuite/gfortran.dg/recursive_reference_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/match.h
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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