[PATCH, testsuite]: Add testcase for PR fortran/33500

Uros Bizjak ubizjak@gmail.com
Wed Oct 10 20:58:00 GMT 2007


Hello!

The testcase from PR fortran/33500 does not fail with trunk revision: 
129215.

Attached patch adds fortran torture testcase from PR audit trail. Patch 
was checked by running fortran testsuite on x86_64-pc-linux-gnu.

OK for mainline?

2007-10-10  Uros Bizjak  <ubizjak@gmail.com>

       PR fortran/33500
       * gfortran.fortran-torture/compile/pr33500.f90: New testcase.

Uros.

Index: gfortran.fortran-torture/compile/pr33500.f90
===================================================================
--- gfortran.fortran-torture/compile/pr33500.f90        (revision 0)
+++ gfortran.fortran-torture/compile/pr33500.f90        (revision 0)
@@ -0,0 +1,6 @@
+subroutine whatever()
+logical(kind=1) :: l1, l2, l3
+if ((l1 .and. l2) .neqv. l3) then
+   l1 = .true.
+endif
+end



More information about the Fortran mailing list