[Patch, Fortran] Fix -fcheck=pointer for F2008's NULL ptr to optional arguments

Thomas Koenig tkoenig@netcologne.de
Sun Jun 5 20:40:00 GMT 2011


Hi Tobias,

> The NULL pointer check (-fcheck=pointer) was wrong for Fortran 2008: It
> is now allowed to pass a null pointer (or not associated allocatables)
> to optional arguments to denote absent arguments.
>
> Build and regtested on x86-64-linux.
> OK for the trunk?

OK.  Thanks for the patch!

	Thomas



More information about the Gcc-patches mailing list