OSDN Git Service

PR fortran/33500
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Oct 2007 05:14:08 +0000 (05:14 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Oct 2007 05:14:08 +0000 (05:14 +0000)
* gfortran.fortran-torture/compile/logical-1.f90: New testcase.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/compile/logical-1.f90 [new file with mode: 0644]

index b1f1e50..cb4f5d9 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-11  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR fortran/33500
+       * gfortran.fortran-torture/compile/logical-1.f90: New testcase.
+       
 2007-10-10  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        PR testsuite/33391
diff --git a/gcc/testsuite/gfortran.fortran-torture/compile/logical-1.f90 b/gcc/testsuite/gfortran.fortran-torture/compile/logical-1.f90
new file mode 100644 (file)
index 0000000..03cad93
--- /dev/null
@@ -0,0 +1,8 @@
+! PR fortran/33500
+
+subroutine whatever()
+logical(kind=1) :: l1, l2, l3
+if ((l1 .and. l2) .neqv. l3) then
+   l1 = .true.
+endif
+end