http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54285
--- Comment #4 from janus at gcc dot gnu.org 2012-09-17 12:50:40 UTC --- Author: janus Date: Mon Sep 17 12:50:34 2012 New Revision: 191383 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191383 Log: 2012-09-17 Janus Weil <ja...@gcc.gnu.org> PR fortran/54285 * expr.c (gfc_check_pointer_assign): Correctly handle procedure pointers as function results. * primary.c (gfc_match_varspec): Allow to call a PPC with proc-ptr result. 2012-09-17 Janus Weil <ja...@gcc.gnu.org> PR fortran/54285 * gfortran.dg/proc_ptr_result_7.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/proc_ptr_result_7.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/expr.c trunk/gcc/fortran/primary.c trunk/gcc/testsuite/ChangeLog