[Bug fortran/46783] New: [OOP] TRANSFER with polymorphic MOLD=
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 3 14:16:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46783
Summary: [OOP] TRANSFER with polymorphic MOLD=
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
CC: janus@gcc.gnu.org
Cf. http://j3-fortran.org/pipermail/j3/2010-December/004026.html
Currently, the declared type is used for MOLD= in TRANSFER. It seems as if the
effective type should be used instead.
This is a tracker bug as the standard is a bit ambiguous about it; I assume
that there will be an IR (interpretation request) about it.
Currently, F2008 just has:
MOLD shall be a scalar or array of any type. If it is a variable, it need not
be defined.
Result Characteristics. The result is of the same type and type parameters as
MOLD.
More information about the Gcc-bugs
mailing list