https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65223
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This is the intended behavior: see the thread starting at
https://gcc.gnu.org/ml/fortran/2014-12/msg00094.html. You must use 'impure
elemental' if there is an INTENT(OUT) polymorphic argument.