]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fortran testsuite: fix invalid Fortran in testcase
authorHarald Anlauf <anlauf@gmx.de>
Tue, 27 Feb 2024 20:51:53 +0000 (21:51 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Wed, 28 Feb 2024 18:19:14 +0000 (19:19 +0100)
gcc/testsuite/ChangeLog:

* gfortran.dg/pr101026.f: Let variables used in specification
expression be passed as dummy arguments

gcc/testsuite/gfortran.dg/pr101026.f

index 9576d8802ca6561ffe1a94fc3f9d737da4a46296..e05e21c898a5e3e6875ff7a6aa8aab9581752c0b 100644 (file)
@@ -1,6 +1,6 @@
 ! { dg-do compile }
 ! { dg-options "-Ofast -frounding-math" }
-      SUBROUTINE PASSB4 (CC,CH)
+      SUBROUTINE PASSB4 (CC,CH,IDO,L1)
       DIMENSION CC(IDO,4,L1), CH(IDO,L1,*)
          DO 103 I=2,IDO,2
             TI4 = CC0-CC(I,4,K)