http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51293
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-24 14:13:39 UTC --- This usage requires support for polymorphic arrays - or at least the scalarizer needs to be able to handle this, which is part of the work Paul did. Latest publicly available version of Paul's patch: http://gcc.gnu.org/ml/fortran/2011-11/msg00147.html At least with the version I have, it works. The patch will be submitted in soon; there are still some small issues which should be fixed before it is submitted.