[Bug fortran/35719] pointer to zero sized array not associated
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri May 9 18:35:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list