http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47775
--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-19 08:57:13 UTC --- Author: burnus Date: Sat Feb 19 08:57:10 2011 New Revision: 170309 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170309 Log: 2011-02-19 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-19 Tobias Burnus PR fortran/47775 * gfortran.dg/func_result_6.f90: New. Added: branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/func_result_6.f90 Modified: branches/gcc-4_5-branch/gcc/fortran/ChangeLog branches/gcc-4_5-branch/gcc/fortran/trans-expr.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog