fortran/7662: Dimensions of dummy array in subroutine must agree with arrayed passed from calling program.
toon@gcc.gnu.org
toon@gcc.gnu.org
Wed Aug 21 00:54:00 GMT 2002
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
More information about the Gcc-bugs
mailing list