This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 40164: Fortran 2003: "Arrays of procedure pointers" (using PPCs)
- From: Tobias Burnus <burnus at net-b dot de>
- To: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Janus Weil <janus at gcc dot gnu dot org>
- Date: Mon, 18 May 2009 16:35:05 +0200
- Subject: Re: [Patch, Fortran] PR 40164: Fortran 2003: "Arrays of procedure pointers" (using PPCs)
Janus Weil wrote:
> here is a patch which makes it possible to use PPCs to create "arrays
> of procedure pointers".
>
> Regression-tested on x86_64-unknown-linux-gnu. Ok for trunk?
OK. Thanks for the patch.
Tobias
> 2009-05-18 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/40164
> * primary.c (gfc_match_rvalue): Handle procedure pointer components in
> arrays.
> * resolve.c (resolve_ppc_call,resolve_expr_ppc): Resolve component and
> array references.
> (resolve_fl_derived): Procedure pointer components are not required to
> have constant array bounds in their return value.
>
>
> 2009-05-18 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/40164
> * gfortran.dg/proc_ptr_comp_8.f90: New.