[Bug fortran/35718] deallocating non-allocated pointer target does not fail
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 14 15:10:51 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35718
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
We have an unsigned short in our descriptor that we can use
for keeping track of what we allocated and where.
So, we have 16 bits. State we can keep around is:
Type of descriptor: Allocatable, pointer, passed argument. 2 bits.
Associated: No, allocated, target. 2 bits.
Contiguous: 1 bit.
Anything else we would need? That would still leave us 11 bit in reserve.
More information about the Gcc-bugs
mailing list