[Bug fortran/32985] COMMON checking: TYPE with(out) SEQUENCE/bind(C), ALLOCATABLE
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 6 20:18:00 GMT 2007
------- Comment #4 from burnus at gcc dot gnu dot org 2007-08-06 20:18 -------
Besides default initializers (TODO), I also forgot about the following, to be
added after the if clause of previous patch:
else if (csym->ts.type == BT_DERIVED
&& csym->ts.derived->attr.alloc_comp)
{
gfc_error ("Derived type variable '%s' at %L in COMMON has "
"an ultimate component that is allocatable",
csym->name, &csym->declared_at);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32985
More information about the Gcc-bugs
mailing list