User account creation filtered due to spam.

Bug 46783 - [OOP] TRANSFER with polymorphic MOLD=
Summary: [OOP] TRANSFER with polymorphic MOLD=
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Blocks: 31237
  Show dependency treegraph
Reported: 2010-12-03 14:16 UTC by Tobias Burnus
Modified: 2015-10-09 08:53 UTC (History)
3 users (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed: 2013-06-20 00:00:00


Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Burnus 2010-12-03 14:16:15 UTC

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.
Comment 1 Dominique d'Humieres 2013-06-20 18:44:23 UTC
This link


is broken.
Comment 2 Dominique d'Humieres 2015-10-09 08:53:37 UTC
> This link
> Cf.
> is broken.

Updated link