http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50640
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25730|0 |1 is obsolete| | --- Comment #22 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-09 10:07:54 UTC --- Created attachment 25766 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25766 Updated draft patch I am not sure whether it is the nicest patch, but pushing __copy to the top based by the name should work. (A Fortran name may not start with an underscore.) An alternative patch would be to handle this on the Fortran AST level. This patch was only lightly tested by compiling select_type_12.f03 and the test of comment 18.