[Patch, Fortran] PR 46060: [F03] procedure pointer component referenced without argument list

Tobias Burnus burnus@net-b.de
Thu Oct 21 09:32:00 GMT 2010


  On 10/19/2010 10:48 PM, Janus Weil wrote:
> The attached version of the patch is free of regressions on
> x86_64-unknown-linux-gnu. Ok for trunk?

OK. Thanks for the patch.

Tobias

PS What's actually your plan with regards to your allocatable scalars 
patch [1]? My impression was that only a small bit was missing for 
deallocate. [1] http://gcc.gnu.org/ml/fortran/2010-10/msg00161.html

> 2010-10-19  Janus Weil<janus@gcc.gnu.org>
>
> 	PR fortran/46060
> 	* match.h (gfc_matching_ptr_assignment): New global variable to indicate
> 	we're currently matching a (non-proc-)pointer assignment.
> 	* decl.c (match_pointer_init): Set it.
> 	* match.c (gfc_match_pointer_assignment): Ditto.
> 	* primary.c (matching_actual_arglist): New global variable to indicate
> 	we're currently matching an actual argument list.
> 	(gfc_match_actual_arglist): Set it.
> 	(gfc_match_varspec): Reject procedure pointer component calls with
> 	missing argument list.
>
> 2010-10-19  Janus Weil<janus@gcc.gnu.org>
>
> 	PR fortran/46060
> 	* gfortran.dg/proc_ptr_comp_25.f90: New.



More information about the Fortran mailing list