diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2010-06-29 18:57:43 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2010-06-29 18:57:43 +0000 |
commit | 42488c1b62c7dfa35e30ef1787da3b09a54380bb (patch) | |
tree | 0873d19ee868ffa15535fe1be34270d82e9452dd /gcc/fortran/ChangeLog | |
parent | b313b165a4eac02c7fd079082415ecfac41a0713 (diff) | |
download | gcc-42488c1b62c7dfa35e30ef1787da3b09a54380bb.zip gcc-42488c1b62c7dfa35e30ef1787da3b09a54380bb.tar.gz gcc-42488c1b62c7dfa35e30ef1787da3b09a54380bb.tar.bz2 |
re PR fortran/44582 (gfortran generates wrong results due to wrong ABI in function with array return)
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.
From-SVN: r161550
Diffstat (limited to 'gcc/fortran/ChangeLog')
-rw-r--r-- | gcc/fortran/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
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 <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-28 Paul Thomas <pault@gcc.gnu.org> PR fortran/40158 |