http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54107
--- Comment #10 from Mikael Morin <mikael at gcc dot gnu.org> 2013-01-20 17:31:24 UTC --- Created attachment 29228 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29228 Not working patch This patch implements comment #9. It fails on proc_decl* and proc_ptr* and cray_pointer_9 unfortunately. I investigated the last failure and the outcome is this: if the dummy arguments are not present in the procedure symbol, then the array spec and the character length shall be taken out of it as well, as they contain expressions that may refer to the dummy arguments. This makes the approach really too intrusive.