]> git.ipfire.org Git - thirdparty/gcc.git/commit
Implement FINDLOC for UNSIGNED.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 28 Sep 2024 20:29:56 +0000 (22:29 +0200)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 28 Sep 2024 20:29:56 +0000 (22:29 +0200)
commit786773d4c12fd78e94f58193ff303cba19ca1b19
tree9292ff99082d665b9c07e8220fa7f16b9aa96030
parent1c928004cf0bc2131b6199905d11133d23a7cef2
Implement FINDLOC for UNSIGNED.

gcc/fortran/ChangeLog:

* check.cc (intrinsic_type_check): Handle unsigned.
(gfc_check_findloc): Likewise.
* gfortran.texi: Include FINDLOC in unsigned documentation.
* iresolve.cc (gfc_resolve_findloc): Use INTEGER version
for UNSIGNED.

gcc/testsuite/ChangeLog:

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