]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/intrinsic.cc
mvbits_9.f90: New test.
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 9 Jun 2010 16:24:59 +0000 (16:24 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 9 Jun 2010 16:24:59 +0000 (16:24 +0000)
commit289e52fd12ea388be5e7d3de3dc797fd87004fee
tree5c6c8b19d1e565d935c4dd24dde0c6fa40e4edc6
parent7773063f5ba0304cc67df187fa841c5e687cec6b
mvbits_9.f90: New test.

2010-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

* testsuite/gfortran.dg/mvbits_9.f90: New test.
* testsuite/gfortran.dg/ibset_1.f90: Ditto.
* testsuite/gfortran.dg/ibits_1.f90: Ditto.
* testsuite/gfortran.dg/btest_1.f90: Ditto.
* testsuite/gfortran.dg/ibclr_1.f90: Ditto.

2010-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

* fortran/intrinsic.c (add_functions): Change gfc_check_btest,
gfc_check_ibclr, and gfc_check_ibset to gfc_check_bitfcn.
* fortran/intrinsic.h: Remove prototypes for gfc_check_btest,
gfc_check_ibclr, and gfc_check_ibset.  Add prototype for
gfc_check_bitfcn.
* fortran/check.c (nonnegative_check, less_than_bitsize1,
less_than_bitsize2): New functions.
(gfc_check_btest): Renamed to gfc_check_bitfcn.  Use
nonnegative_check and less_than_bitsize1.
(gfc_check_ibclr, gfc_check_ibset): Removed.
(gfc_check_ibits,gfc_check_mvbits): Use nonnegative_check and
less_than_bitsize1.

From-SVN: r160492
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/btest_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/ibclr_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/ibits_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/ibset_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/mvbits_9.f90 [new file with mode: 0644]