This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/2153] statement function arg namespace overlaps subr namespace


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]