character_passing.f90: Fix types for LSAME.
authorThomas Koenig <Thomas.Koenig@online.de>
Tue, 9 Aug 2005 20:53:52 +0000 (20:53 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 9 Aug 2005 20:53:52 +0000 (20:53 +0000)
2005-08-09  Thomas Koenig  <Thomas.Koenig@online.de>

* gfortran/fortran.torture/execute/character_passing.f90:
Fix types for LSAME.

From-SVN: r102925

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/execute/character_passing.f90

index ccd238c8245ccce18d41a913919bdaef35e6c492..835596d5d2e5b7c7c7ce7284626587833f992efb 100644 (file)
@@ -1,3 +1,8 @@
+2005-08-09  Thomas Koenig  <Thomas.Koenig@online.de>
+
+       * gfortran/fortran.torture/execute/character_passing.f90:
+       Fix types for LSAME.
+
 2005-08-09  Dorit Nuzman  <dorit@il.ibm.com>
 
        * gcc.dg/vect/vect-reduc-1char.c: Reverse last change - change
index ade7f9d0c2999f899859943d18e684ceaff65985..959e602b1a8446ca81a79db19e8024bd7af7e9b3 100644 (file)
@@ -3,11 +3,12 @@
 ! the character agruments.
       program foo
       character*1 a1, a2, b
+      logical LSAME, x
       a1='A'
       a2='A'
       b='B'
       x = LSAME(a1,a2)
-      if ( x.ne.1 ) then
+      if ( .not. x ) then
         call abort  ();
       endif
       end