[Patch, Fortran] PR 38152: [4.4 Regression] procedure pointers as module variables

Tobias Burnus burnus@net-b.de
Fri Jan 16 12:11:00 GMT 2009


Janus Weil wrote:
> The patch is regression-tested on i686-pc-linux-gnu. Is this ok for
> trunk, or should I wait for 4.5?
>   
I think it is still OK for 4.4, especially since it only touches
proc_pointers.

Thanks for the patch.

Tobias

> 2009-01-16  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/38152
> 	* expr.c (gfc_check_pointer_assign): Allow use-associated procedure
> 	pointers as lvalue.
> 	* trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
> 	Enable procedure pointers as module variables.
>
>
> 2009-01-16  Janus Weil  <janus@gcc.gnu.org>
>
> 	PR fortran/38152
> 	* gfortran.dg/proc_ptr_13.f90: New.
>   



More information about the Fortran mailing list