From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13590 invoked by alias); 12 May 2007 06:20:13 -0000 Received: (qmail 13461 invoked by alias); 12 May 2007 06:19:59 -0000 Date: Sat, 12 May 2007 06:20:00 -0000 Message-ID: <20070512061959.13460.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/30746] 50th Anniversary Bug - Forward reference to contained function In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00881.txt.bz2 ------- 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 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 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