http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49648
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-05 22:52:01 UTC --- (In reply to comment #4) > Draft patch, which should also save some memory, .mod file-size and should > slightly speed the program. The patch fails for procedure pointers - as the function->attr.proc_pointer == 0 and only function->result->attr.proc_pointer != 0, cf. add_hidden_procptr_result. For instance: gfortran.dg/proc_ptr_result_1.f90 and gfortran.dg/proc_ptr_result_3.f90.