[Bug fortran/34760] PRIVATE variable not allowed as STAT variable in ALLOCATE
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 13 01:22:00 GMT 2008
------- Comment #1 from burnus at gcc dot gnu dot org 2008-01-12 22:49 -------
DEALLOCATE has actually the same problem.
Regarding gfc_match_allocate/gfc_match_deallocate:
a) "if (stat->symtree->n.sym->attr.flavor != FL_VARIABLE)" is false as the
flavor is FL_UNKNOWN.
b) ALLOCATE has much more checks for "stat" being a variable than DEALLOCATE, I
had expected that they have the same checks for STAT.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34760
More information about the Gcc-bugs
mailing list