https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61459
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Tue Jul 8 19:51:04 2014 New Revision: 212369 URL: https://gcc.gnu.org/viewcvs?rev=212369&root=gcc&view=rev Log: 2014-07-08 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61459 PR fortran/58883 * trans-expr.c (fcncall_realloc_result): Use the natural type for the address expression of 'res_desc'. 2014-07-08 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61459 PR fortran/58883 * gfortran.dg/allocatable_function_8.f90 : New test Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/allocatable_function_8.f90 Modified: branches/gcc-4_8-branch/gcc/fortran/ChangeLog branches/gcc-4_8-branch/gcc/fortran/trans-expr.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog