[PATCH] PR fortran/50573 -- Fix checking of dshift{lr} arguments
Tobias Burnus
burnus@net-b.de
Fri Oct 28 05:44:00 GMT 2011
Am 28.10.2011 01:27, schrieb Steve Kargl:
> The attached patch tightens the checking of the arguments
> of the dshiftl and dshiftr argument. It also does a kind
> type conversion when either I or J is a BOZ to the kind
> type of the non-BOZ I or J.
>
> OK for trunk?
OK with a changelog entry for the NEAREST change. And thanks for the patch.
Could you also update the manual?
http://gcc.gnu.org/onlinedocs/gfortran/DSHIFTL.html
Tobias
> 2011-10-27 Steven G. Kargl<kargl@gcc.gnu.org>
>
> PR fortran/50573
> * check.c (gfc_check_dshift): Tighten the checks on I, J, and SHIFT. If I or
> J is a BOZ, convert to the kind type of the other.
>
> 2011-10-27 Steven G. Kargl<kargl@gcc.gnu.org>
>
> PR fortran/50573
> * gfortran.dg/dshift_3.f90: New test.
More information about the Fortran
mailing list