------- Comment #4 from burnus at gcc dot gnu dot org 2008-04-29 05:21 ------- Close as INVALID.
Richard Maine wrote in c.l.f (see link above): ------------------------------ > > Contrary to you, my reading is that this applies also to a pointer to > > a derived type. > > I can read it either way, I don't really see how. I strongly agree with Tobias here. I think you are confusing an important aspect of Fortran pointers with C ones. In Fortran, pointer is an attribute. It does *NOT* make a separate type. If the common-block-object has (derived) type x, then adding the pointer attribute doesn't change the type. It is still of the same type and thus the above restriction still applies. If you try to read such words any other way, I think you'll find that large parts of the standard fall apart - at least if one tries to apply the same reading throughout the standard. ------------------------------ -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36058