[Bug fortran/25051] ranks do not match in pointer assignment with NULL

2006-01-07 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-08 06:17 --- Hmm, (I have not looked at the source yet but) I suspect we are not recording the type of NULL so that we get a NULL without a kind. This shows that I am more likely correct: REAL, POINTER, DIMENSION(:,:) :: i INTEGE

[Bug fortran/25051] ranks do not match in pointer assignment

2005-11-26 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2005-11-26 19:07 --- gfortran doesn't see this code is invalid. ## g95 ## In file foo.f90:3 a=>NULL(i) 1 Error: Unequal ranks in pointer assignment at (1) (1/2) ## Intel ## fortcom: Error: foo.f90, line 3: The rank of the tar