From 42488c1b62c7dfa35e30ef1787da3b09a54380bb Mon Sep 17 00:00:00 2001 From: Paul Thomas Date: Tue, 29 Jun 2010 18:57:43 +0000 Subject: re PR fortran/44582 (gfortran generates wrong results due to wrong ABI in function with array return) 2010-06-29 Paul Thomas 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 PR fortran/44582 * gfortran.dg/aliasing_array_result_1.f90 : New test. From-SVN: r161550 --- gcc/fortran/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/fortran/ChangeLog') diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 60d1e31..34c8f64 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,13 @@ +2010-06-29 Paul Thomas + + 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-28 Paul Thomas PR fortran/40158 -- cgit v1.1