This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25051] ranks do not match in pointer assignment with NULL
- 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: 8 Jan 2006 06:17:29 -0000
- Subject: [Bug fortran/25051] ranks do not match in pointer assignment with NULL
- References: <bug-25051-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla 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
INTEGER, POINTER, DIMENSION(:,:) :: a
a=>NULL(i)
END
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Summary|ranks do not match in |ranks do not match in
|pointer assignment |pointer assignment with NULL
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25051