]> git.ipfire.org Git - thirdparty/gcc.git/commit
Implement CSHIFT and EOSHIFT for unsigned.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 28 Sep 2024 20:28:59 +0000 (22:28 +0200)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 28 Sep 2024 20:28:59 +0000 (22:28 +0200)
commit1c928004cf0bc2131b6199905d11133d23a7cef2
treeb1b3d4a93b2fbeba34923bc7625f7ae587957510
parent2531f014fb2364777fb1ce09641db85bda5883b7
Implement CSHIFT and EOSHIFT for unsigned.

gcc/fortran/ChangeLog:

* check.cc (gfc_check_eoshift): Handle BT_UNSIGNED.
* simplify.cc (gfc_simplify_eoshift): Likewise.
* gfortran.texi: Document CSHIFT and EOSHIFT for UNSIGNED.

gcc/testsuite/ChangeLog:

* gfortran.dg/unsigned_31.f90: New test.
* gfortran.dg/unsigned_32.f90: New test.
gcc/fortran/check.cc
gcc/fortran/gfortran.texi
gcc/fortran/simplify.cc
gcc/testsuite/gfortran.dg/unsigned_31.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/unsigned_32.f90 [new file with mode: 0644]