This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]