This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r161550 - in /trunk/gcc: fortran/ChangeLog fort...
- From: pault at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 29 Jun 2010 18:57:43 -0000
- Subject: r161550 - in /trunk/gcc: fortran/ChangeLog fort...
Author: pault
Date: Tue Jun 29 18:57:43 2010
New Revision: 161550
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161550
Log:
2010-06-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/44582
* trans-expr.c (arrayfunc_assign_needs_temporary): New function
to determine if a function assignment can be made without a
temporary.
(gfc_trans_arrayfunc_assign): Move all the conditions that
suppress the direct function call to the above new functon and
call it.
2010-06-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/44582
* gfortran.dg/aliasing_array_result_1.f90 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/aliasing_array_result_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog