re PR fortran/40646 ([F03] array-valued procedure pointer components)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 5 Jul 2009 19:13:59 +0000 (19:13 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 5 Jul 2009 19:13:59 +0000 (19:13 +0000)
commit37a40b531fa727259d2990fe37795a1ada14b831
tree53147f2f5ff93fd4abca3507298b728daf3384dc
parentaded0ed0ddfa3603f3b2f5e45464dc0575b157fe
re PR fortran/40646 ([F03] array-valued procedure pointer components)

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.

From-SVN: r149262
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]