[Bug fortran/41719] [OOP] invalid: Intrinsic assignment involving polymorphic variables
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 16 19:11:00 GMT 2009
------- Comment #4 from janus at gcc dot gnu dot org 2009-10-16 19:10 -------
Note: It seems this will be legal again in F08.
7.2.1.2 Intrinsic assignment statement
An intrinsic assignment statement is an assignment statement that is not a
defined assignment statement (7.2.1.4).
In an intrinsic assignment statement,
(1) if the variable is polymorphic it shall be allocatable and not a coarray,
...
(4) if the variable is polymorphic it shall be type compatible with expr ;
otherwise the declared types of the variable and expr shall conform as
specified in Table 7.10,
...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41719
More information about the Gcc-bugs
mailing list