This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]