This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR fortran/50573 -- Fix checking of dshift{lr} arguments


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]