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] PR42045: [F03] passing a procedure pointer component to a procedure pointer dummy


Janus Weil wrote:
> The patch also fixes the problem that John McFarland reported (which
> was caused by the implicit typing of PPCs). It was regtested
> successfully on x86_64-unknown-linux-gnu. Ok for trunk?
>   
OK. Thanks for the patch!

Tobias

> 2009-11-21  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/42045
> 	* resolve.c (resolve_actual_arglist): Make sure procedure pointer
> 	actual arguments are resolved correctly.
> 	(resolve_function): An EXPR_FUNCTION which is a procedure pointer
> 	component, has already been resolved.
> 	(resolve_fl_derived): Procedure pointer components should not be
> 	implicitly typed.
>
> 2009-11-21  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/42045
> 	* gfortran.dg/proc_ptr_comp_2.f90: Correct invalid test case.
> 	* gfortran.dg/proc_ptr_comp_3.f90: Extended test case.
> 	* gfortran.dg/proc_ptr_comp_24.f90: New.
>   


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