[Bug fortran/59103] [OOP] Reject deallocate/intent(out) for polymorphic var in PURE procedures (IR F08/0033)
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 21 13:52:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59103
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu.org
--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to Tobias Burnus from comment #0)
> Interpretation request F08/0033,
> ftp://ftp.nag.co.uk/sc22wg5/N1851-N1900/N1875.txt, added additional
> restrictions to PURE as polymorphic variables might have IMPURE FINAL
> subroutines. Thus:
>
> * An INTENT(OUT) argument of a pure procedure should
> not be allowed to be polymorphic
Note: This part is already covered by PR 54756 (see also the link to the patch
in comment #2).
More information about the Gcc-bugs
mailing list