This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/2153] statement function arg namespace overlaps subr namespace
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2003 00:38:07 -0000
- Subject: [Bug fortran/2153] statement function arg namespace overlaps subr namespace
- References: <20010302143600.2153.crussell@uabmc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-23 00:38 -------
The error I get on the tree-ssa with gfortran (so it is fixed there):
In file pr2153.f:1
subroutine bug (n,x,y)
1
Error: Argument 'x' of statement function at (1) must be scalar
In file pr2153.f:6
sngl(x)=x
1
Error: Incompatible ranks in assignment at (1)
In file pr2153.f:7
write(*,*) 'y=',sngl(y)
1
Error: Type/rank mismatch in argument 'x' at (1)
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2153