ishft_3.f90: Update test.
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 20 Oct 2011 18:07:10 +0000 (18:07 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 20 Oct 2011 18:07:10 +0000 (18:07 +0000)
commit0019028b0b585fddd080e626e33c3c4420fbd486
tree97790bb4887f0402df98a32050b17ae9213d8e02
parent86daf6d59d37755f3b73a10bb489e53f6c224a8c
ishft_3.f90: Update test.

2011-10-20  Steven G. Kargl  <kargl@gcc.gnu.org>

* gfortran.dg/ishft_3.f90:  Update test.

2011-10-20  Steven G. Kargl  <kargl@gcc.gnu.org>

* check.c (less_than_bitsize1): Check |shift| <= bit_size(i).
(gfc_check_ishftc):  Check |shift| <= bit_size(i) and check
that size is positive.

From-SVN: r180264
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/ishft_3.f90