2009-07-05 Paul Thomas <pault@gcc.gnu.org>
commit88a37d69d9f4acebdb312422aca037999d333638
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jul 2009 19:13:59 +0000 (5 19:13 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jul 2009 19:13:59 +0000 (5 19:13 +0000)
tree53147f2f5ff93fd4abca3507298b728daf3384dc
parent9cfe21228c5c9f41cf63df565f91071bf34c5405
2009-07-05  Paul Thomas  <pault@gcc.gnu.org>
and Tobias Burnus <burnus@gcc.gnu.org>

PR fortran/40646
* gfortran.h : Change the compcall member of the 'value' union
in the gfc_expr structure so that its fields overlap with the
'function' member.
* resolve.c (resolve_compcall): Set the function.esym.
* trans-expr.c (gfc_trans_arrayfunc_assign): Use
is_proc_ptr_comp in the condition.
* dependency.c (gfc_full_array_ref_p): Ensure that 'contiguous'
retunrs a value if non-NULL.

2009-07-05  Paul Thomas  <pault@gcc.gnu.org>
and Tobias Burnus <burnus@gcc.gnu.org>

PR fortran/40646
* gfortran.dg/func_assign_3.f90 : New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149262 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/dependency.c
gcc/fortran/gfortran.h
gcc/fortran/resolve.c
gcc/fortran/trans-expr.c
gcc/testsuite/gfortran.dg/func_assign_3.f90 [new file with mode: 0644]