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