http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47569
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23230|0 |1 is obsolete| | Status|NEW |ASSIGNED AssignedTo|pault at gcc dot gnu.org |burnus at gcc dot gnu.org --- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-10 15:10:35 UTC --- Created attachment 23295 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23295 Updated patch with test case Full patch, currently regtesting; needs a cross check and can then be submitted. Polymorphic test case (disabled) fails due to an earlier ICE, cf. PR 47680. F2008 quote ("12.5.2.4 Ordinary dummy variables"): "If the actual argument is a noncoindexed scalar, the corresponding dummy argument shall be scalar unless the actual argument is default character, of type character with the C character kind (15.2.2), or is an element or substring of an element of an array that is not an assumed-shape, pointer, or polymorphic array."