This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 40176: Fortran 2003: Procedure pointers with array return value
Hi Janus,
> So, here is the new patch, complete with updated ChangeLog and test
> cases, and still regression-free. Ok for trunk?
Coo, it's developed a bit from the one-liner in the PR :-)
OK for trunk
Thanks for the patch(es)!
Paul
PS Is my OS getting wobbly or is everybody's editor taking a long time
when opening gfortran.dg? Is it perhaps time to make some structural
changes by breaking it up? It also crosses my mind that we are making
too much use of gfortran.dg and that some of the dg-run tests do not
need so many optimization variants. Does anybody recall why we
stopped using the gfortran-torture directories?
> 2009-05-24 ?Janus Weil ?<janus@gcc.gnu.org>
>
> ? ? ? ?PR fortran/40176
> ? ? ? ?* primary.c (gfc_match_varspec): Handle procedure pointer components
> ? ? ? ?with array return value.
> ? ? ? ?* resolve.c (resolve_expr_ppc): Ditto.
> ? ? ? ?(resolve_symbol): Make sure the interface of a procedure pointer has
> ? ? ? ?been resolved.
> ? ? ? ?* trans-array.c (gfc_walk_function_expr): Handle procedure pointer
> ? ? ? ?components with array return value.
> ? ? ? ?* trans-expr.c (gfc_conv_component_ref,gfc_conv_procedure_call,
> ? ? ? ?gfc_trans_arrayfunc_assign): Ditto.
> ? ? ? ?(gfc_trans_pointer_assignment): Handle procedure pointer assignments,
> ? ? ? ?where the rhs is a dummy argument.
> ? ? ? ?* trans-types.c (gfc_get_ppc_type,gfc_get_derived_type): Handle
> ? ? ? ?procedure pointer components with array return value.
>
>
> 2009-05-24 ?Janus Weil ?<janus@gcc.gnu.org>
>
> ? ? ? ?PR fortran/40176
> ? ? ? ?* gfortran.dg/proc_ptr_18.f90: New.
> ? ? ? ?* gfortran.dg/proc_ptr_19.f90: New.
> ? ? ? ?* gfortran.dg/proc_ptr_comp_9.f90: New.
> ? ? ? ?* gfortran.dg/proc_ptr_comp_10.f90: New.
>