http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46662

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-11-26 
08:08:44 UTC ---
> C611 (R611) If the rightmost part-name is of abstract type, data-ref shall be
> polymorphic.

That's the key point, which makes it invalid. To quote from Malcolm Cohen's
answer:

"In your example, the "data-ref" is "polymorphic%abstract".
 You said that "abstract" was of abstract type.
 And "polymorphic%abstract" certainly is not polymorphic -
 you have selected the bit that is of type "abstract"."

Hence, the PR is invalid as gfortran and NAG properly diagnose it :-)

Reply via email to