[PRs 34547/50375] Fixes to NULL with MOLD= check
Tobias Burnus
burnus@net-b.de
Wed Sep 14 08:21:00 GMT 2011
Steve Kargl wrote:
> I was wondering if we need to change the error message
> in the following code to include procedure pointer?
>
> + gfc_error ("'%s' argument of '%s' intrinsic at %L must be a POINTER or "
> + "ALLOCATABLE", gfc_current_intrinsic_arg[0]->name,
> gfc_current_intrinsic,&mold->where);
> return FAILURE;
> }
>
> Should this be "... a POINTER, ALLOCATABLE, or PROCEDURE POINTER..."?
Good suggestion. I have changed it accordingly - except that I wrote
procedure pointer in minuscules.
Committed as Revs. 178841/178842.
Tobias
More information about the Gcc-patches
mailing list