This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35719] pointer to zero sized array not associated
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2008 18:34:18 -0000
- Subject: [Bug fortran/35719] pointer to zero sized array not associated
- References: <bug-35719-15620@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from tkoenig at gcc dot gnu dot org 2008-05-09 18:34 -------
(In reply to comment #6)
> Another solution is to have status flags for allocated and associated in the
> descriptor, IIRC at least Pathscale does this.
>
> Aren't there actually free bits left in the dtype flag that gfortran could use,
> without requiring to change the descriptor?
We will need to change the descriptor to fix PR 35718. Unfortunately,
dtype shares space with the size, so by introducing additional bits
we would be incompatible, and restrict the size of derived types further.
Time for a "what we want to fix with the new array descriptor"
meta-PR?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35719