[PATCH] Re: Some type mismatches
FX Coudert
fxcoudert@gmail.com
Thu May 31 15:33:00 GMT 2007
> - add_sym_1 ("sizeof", GFC_ISYM_SIZEOF, NOT_ELEMENTAL, ACTUAL_NO,
> BT_INTEGER, di,
> + add_sym_1 ("sizeof", GFC_ISYM_SIZEOF, NOT_ELEMENTAL, ACTUAL_NO,
> BT_INTEGER, ii,
> GFC_STD_GNU, gfc_check_sizeof, NULL, NULL,
> - i, BT_INTEGER, di, REQUIRED);
> + i, BT_INTEGER, ii, REQUIRED);
> the argument types are ignored (which is the purpose of the empty
> check function).
I was about to send a mail to OK it also, but we should really have:
> - i, BT_INTEGER, di, REQUIRED);
> + i, BT_UNKNOWN, 0, REQUIRED);
instead, so that we see easily that arg types isn't important. This
is what is done for the LOC intrinsic already, for example.
FX
More information about the Fortran
mailing list