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/35719] pointer to zero sized array not associated



------- 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


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