[PATCH, Fortran] PROCEDURE declarations

Tobias Burnus burnus@net-b.de
Tue Sep 4 10:24:00 GMT 2007

Janus Weil wrote:
>> here is a new version of the PROCEDURE declaration patch.
>From my side, the patch is OK; though I will wait a while before
checking it in to give others the chance for some comments.

Minor nit: The following error message is given for inheriting the
interface from intrinsic procedures (which can be used as actual
argument); this is valid, but not yet supported.

I find the following a bit misleading

+      gfc_error ("Intrinsic procedure '%s' not supported "
+            "in PROCEDURE statement at %C", proc_if->name);

This sounds a bit as if it is invalid code.

I would like to see at least a "yet" in the error message:
   "Intrinsic procedure '%s' not yet supported in PROCEDURE statement at %C"

or something like the following
  "Support for intrinsic procedure '%s' in PROCEDURE statement at %C not
yet implemented[ in gfortran]"

What do you prefer, Janus? Tobias S.? Others?


More information about the Gcc-patches mailing list