http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57508
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> --- Author: burnus Date: Tue Jun 11 16:18:13 2013 New Revision: 199961 URL: http://gcc.gnu.org/viewcvs?rev=199961&root=gcc&view=rev Log: 2013-06-11 Tobias Burnus <bur...@net-b.de> PR fortran/57508 * resolve.c (get_temp_from_expr): Don't copy function result attributes to temporary. 2013-06-11 Tobias Burnus <bur...@net-b.de> PR fortran/57508 * gfortran.dg/defined_assignment_7.f90: New. Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/defined_assignment_7.f90 Modified: branches/gcc-4_8-branch/gcc/fortran/ChangeLog branches/gcc-4_8-branch/gcc/fortran/resolve.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog