http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47775
--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-18 21:35:47 UTC --- Author: burnus Date: Fri Feb 18 21:35:44 2011 New Revision: 170289 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170289 Log: 2011-02-18 Tobias Burnus PR fortran/47775 * trans-expr.c (arrayfunc_assign_needs_temporary): Use esym to check whether the specific procedure returns an allocatable or pointer. 2011-02-18 Tobias Burnus PR fortran/47775 * gfortran.dg/func_result_6.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/func_result_6.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog