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/32985] COMMON checking: TYPE with(out) SEQUENCE/bind(C), ALLOCATABLE



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


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