From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9395 invoked by alias); 21 Aug 2002 07:54:32 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9262 invoked by uid 61); 21 Aug 2002 07:54:31 -0000 Date: Wed, 21 Aug 2002 02:06:00 -0000 Message-ID: <20020821075431.9261.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, mark.e.smith@arnold.af.mil, nobody@gcc.gnu.org, toon@gcc.gnu.org From: toon@gcc.gnu.org Reply-To: toon@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, mark.e.smith@arnold.af.mil, nobody@gcc.gnu.org, toon@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: fortran/7662: Dimensions of dummy array in subroutine must agree with arrayed passed from calling program. X-SW-Source: 2002-08/txt/msg00437.txt.bz2 List-Id: Synopsis: Dimensions of dummy array in subroutine must agree with arrayed passed from calling program. Responsible-Changed-From-To: unassigned->toon Responsible-Changed-By: toon Responsible-Changed-When: Wed Aug 21 00:54:30 2002 Responsible-Changed-Why: Fortran Maintainer. State-Changed-From-To: open->closed State-Changed-By: toon State-Changed-When: Wed Aug 21 00:54:30 2002 State-Changed-Why: Not a compiler bug. The extents of dummy argument arrays must indeed be the same as that of the actual argument; if they're not, that's a programmer error. Use: SUBROUTINE SUB(M,N,DUMX) DIMENSION DUMX(M,N) ... http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7662