[Bug fortran/47775] Wrong code with allocatable function RESULT and GENERIC interfaces
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 19 12:09:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47775
--- Comment #11 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-19 11:27:55 UTC ---
Author: burnus
Date: Sat Feb 19 11:27:52 2011
New Revision: 170312
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170312
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_4-branch/gcc/testsuite/gfortran.dg/func_result_6.f90
Modified:
branches/gcc-4_4-branch/gcc/fortran/ChangeLog
branches/gcc-4_4-branch/gcc/fortran/trans-expr.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list