OSDN Git Service

2005-08-09 Thomas Koenig <Thomas.Koenig@online.de>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Aug 2005 20:53:52 +0000 (20:53 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Aug 2005 20:53:52 +0000 (20:53 +0000)
* gfortran/fortran.torture/execute/character_passing.f90:
Fix types for LSAME.

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

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

index ccd238c..835596d 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 ade7f9d..959e602 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