[PATCH] PR fortran/36251 -- Updated patched

Tobias Burnus burnus@net-b.de
Sun May 18 11:11:00 GMT 2008


Steve Kargl wrote:
> Attached is an updated patch.  It now uses an error instead of
> a warning when PUBLIC or PRIVATE is abused.  It also catches
> fixes the ICE on abusing BIND(C) and issues an error.
>   
OK. I checked it into the trunk as Rev. 135495.
Thanks for the patch.

Tobias

> 2008  Steven G. Kargl  <kargls@comcast.net>
>
> 	PR fortran/36251
> 	* symbol.c (check_conflict): Issue errors for abuse of PUBLIC, PRIVATE,
> 	and BIND(C).
> 	* resolve.c (gfc_verify_binding_labels): Fix NULL pointer dereference.
>
> 2008  Steven G. Kargl  <kargls@comcast.net>
>
> 	PR fortran/36251
> 	gfortran.dg/public_private_module.f90: new test.
> 	gfortran.dg/bind_c_module.f90: new test.
>
>   



More information about the Fortran mailing list