[Bug fortran/17713] New: Rejects call where array element is used as scalar
schnetter at aei dot mpg dot de
gcc-bugzilla@gcc.gnu.org
Tue Sep 28 13:34:00 GMT 2004
GNU Fortran 95 (GCC 4.0.0 20040928 (experimental)) complains:
$ ~/gcc/bin/gfortran -c typerank.f90
In file typerank.f90:26
call gauss( x(i), a, yan, dyda, ma )
1
Error: Type/rank mismatch in argument 'x' at (1)
I cannot see what is wrong here. The type is "double precision", the rank is
0 (scalar), and the intent is (in) for both the dummy and the actual argument.
--
Summary: Rejects call where array element is used as scalar
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schnetter at aei dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713
More information about the Gcc-bugs
mailing list