]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR fortran/18600
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Mar 2005 19:28:18 +0000 (19:28 +0000)
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Mar 2005 19:28:18 +0000 (19:28 +0000)
* gfortran.dg/stfunc_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96389 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/stfunc_1.f90 [new file with mode: 0644]

index bcc841588f610acf00173a2060d538e577a6d09a..6221f18b3e4fab81f48b19e450e5ee28303d5a6c 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-13  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       PR fortran/18600
+       * gfortran.dg/stfunc_1.f90: New test.
+
 2003-03-13  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
 
        PR fortran/16907
diff --git a/gcc/testsuite/gfortran.dg/stfunc_1.f90 b/gcc/testsuite/gfortran.dg/stfunc_1.f90
new file mode 100644 (file)
index 0000000..e21f34e
--- /dev/null
@@ -0,0 +1,9 @@
+! { dg-do run }
+! this is a problem which disappeared between 2005-01-02 and 2005-03-13
+! PR 18600
+      logical a, b
+      a(b) = .true.
+      b = .false.
+      if (a(.false.)) b = .true.
+      if (.not.b) call abort
+      end