]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR fortran/33500 (ICE in copy_to_mode_reg with logical(kind=1) expression)
authorUros Bizjak <ubizjak@gmail.com>
Thu, 11 Oct 2007 05:14:08 +0000 (07:14 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 11 Oct 2007 05:14:08 +0000 (07:14 +0200)
PR fortran/33500
* gfortran.fortran-torture/compile/logical-1.f90: New testcase.

From-SVN: r129225

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

index b1f1e50eecd918d3beb832a5605443baa5eb0a14..cb4f5d986f2c1ba6cecba3458fdc5f068ed24668 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