https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61459
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 33077 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33077&action=edit Fix for the PR This regtests OK for dg.exp=gfortran.dg/alloc* so I presume that it is OK. Am regtesting the whole testsuite right now. 2014-07-06 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61459 * trans-expr.c (fcncall_realloc_result): Use the natural type for the address expression of 'res_desc'. 2014-07-06 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61459 * gfortran.dg/allocatable_function_8.f90 : New test