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/25051] NULL doesn't get its argument type (rank)



------- Comment #4 from kargl at gcc dot gnu dot org  2006-02-10 20:13 -------
Fixed on 4.1 and trunk by the patch committed for pr 20858.

troutmask:sgk[226] cat > ptr.f90
INTEGER, POINTER, DIMENSION(:,:) :: i
INTEGER, POINTER, DIMENSION(:) :: a
a=>NULL(i)
END

troutmask:sgk[227] gfc41 -c ptr.f90
 In file ptr.f90:3

a=>NULL(i)
1
Error: Different ranks in pointer assignment at (1)


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25051


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