http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54286
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> 2013-01-13 08:57:51 UTC --- Author: pault Date: Sun Jan 13 08:57:46 2013 New Revision: 195133 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195133 Log: 2013-01-13 Paul Thomas <pa...@gcc.gnu.org> PR fortran/54286 * expr.c (gfc_check_pointer_assign): Ensure that both lvalue and rvalue interfaces are presented to gfc_compare_interfaces. Simplify references to interface names by using the symbols themselves. Call gfc_compare_interfaces with s1 and s2 inter- changed to overcome the asymmetry of this function. Do not repeat the check for the presence of s1 and s2. 2013-01-13 Paul Thomas <pa...@gcc.gnu.org> PR fortran/54286 * gfortran.dg/proc_ptr_result_8.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/proc_ptr_result_8.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/expr.c trunk/gcc/testsuite/ChangeLog