]> git.ipfire.org Git - thirdparty/gcc.git/commit
fortran: Add tests covering inline MINLOC/MAXLOC without DIM [PR90608]
authorMikael Morin <mikael@gcc.gnu.org>
Sat, 21 Sep 2024 16:32:10 +0000 (18:32 +0200)
committerMikael Morin <mikael@gcc.gnu.org>
Sat, 21 Sep 2024 16:32:10 +0000 (18:32 +0200)
commitb6ea4f7b0e6f983376aac6ebcdbf4eb375b4f1d9
tree15c252585cbce8dda4a6bb90fbd0e020ef2eedfa
parent20486ec75734f3e641a3ade4297f6ba64881bca8
fortran: Add tests covering inline MINLOC/MAXLOC without DIM [PR90608]

Add the tests covering the various cases for which we are about to implement
inline expansion of MINLOC and MAXLOC.  Those are cases where the DIM
argument is not present.

PR fortran/90608

gcc/testsuite/ChangeLog:

* gfortran.dg/ieee/maxloc_nan_1.f90: New test.
* gfortran.dg/ieee/minloc_nan_1.f90: New test.
* gfortran.dg/maxloc_7.f90: New test.
* gfortran.dg/maxloc_with_mask_1.f90: New test.
* gfortran.dg/minloc_8.f90: New test.
* gfortran.dg/minloc_with_mask_1.f90: New test.
gcc/testsuite/gfortran.dg/ieee/maxloc_nan_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/ieee/minloc_nan_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/maxloc_7.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/maxloc_with_mask_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/minloc_8.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/minloc_with_mask_1.f90 [new file with mode: 0644]