]> git.ipfire.org Git - thirdparty/gcc.git/commit
fortran: Add testcases for PR120152, PR120153 and PR120158
authorJakub Jelinek <jakub@redhat.com>
Thu, 8 May 2025 08:43:22 +0000 (10:43 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 8 May 2025 08:43:22 +0000 (10:43 +0200)
commit66f5f03853035cc917627e7d044bff8ccd9eca3f
treee05947266b6f6767b0198673af635bc0f88a2834
parentfdd2374b87bd9d7f4c201c81875d77acaebb38cd
fortran: Add testcases for PR120152, PR120153 and PR120158

The following patch adds testcase coverage for the 3 recently fixed
libgfortran PRs.
On trunk before those fixes I'm getting with -m32
FAIL: gfortran.dg/pr120152_1.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/pr120152_1.f90   -Os  (test for excess errors)
and with -m64
FAIL: gfortran.dg/pr120152_1.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/pr120152_1.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/pr120152_2.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/pr120152_2.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/pr120153.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/pr120153.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/pr120153.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/pr120153.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/pr120153.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/pr120153.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/pr120158.f90   -O0  execution test
FAIL: gfortran.dg/pr120158.f90   -O1  execution test
FAIL: gfortran.dg/pr120158.f90   -O2  execution test
FAIL: gfortran.dg/pr120158.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/pr120158.f90   -O3 -g  execution test
FAIL: gfortran.dg/pr120158.f90   -Os  execution test
On latest trunk everything PASSes.

2025-05-08  Jakub Jelinek  <jakub@redhat.com>

PR libfortran/120152
PR libfortran/120153
PR libfortran/120158
* gfortran.dg/pr120152_1.f90: New test.
* gfortran.dg/pr120152_2.f90: New test.
* gfortran.dg/pr120153.f90: New test.
* gfortran.dg/pr120158.f90: New test.
gcc/testsuite/gfortran.dg/pr120152_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr120152_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr120153.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr120158.f90 [new file with mode: 0644]