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.