This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51514] [OOP] Wrong code when passing a scalar CLASS to a TYPE
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Feb 2012 11:04:25 +0000
- Subject: [Bug fortran/51514] [OOP] Wrong code when passing a scalar CLASS to a TYPE
- Auto-submitted: auto-generated
- References: <bug-51514-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51514
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[OOP] Wrong code when |[OOP] Wrong code when
|passing a CLASS to a TYPE |passing a scalar CLASS to a
| |TYPE
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-06 11:04:25 UTC ---
Actually, the issue seems to only affect scalar polymorphic variables.
If the actual argument is a polymorphic array, it works. Both as argument to an
elemental function and to an array dummy argument.