OSDN Git Service

2006-11-10 Tobias Burnus <burnus@net-b.de>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Nov 2006 18:15:39 +0000 (18:15 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Nov 2006 18:15:39 +0000 (18:15 +0000)
       PR fortran/29454
       * resolve.c (gfc_resolve_blocks): Fix error message.

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

gcc/fortran/ChangeLog
gcc/fortran/resolve.c

index 25ed17e..40b714d 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-10  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/29454
+       * resolve.c (gfc_resolve_blocks): Fix error message.
+
 2006-11-10 Paul Thomas <pault@gcc.gnu.org>
 
        PR fortran/29315
index 872713f..49d80d9 100644 (file)
@@ -4749,7 +4749,7 @@ gfc_resolve_blocks (gfc_code * b, gfc_namespace * ns)
          if (t == SUCCESS && b->expr != NULL
              && (b->expr->ts.type != BT_LOGICAL || b->expr->rank != 0))
            gfc_error
-             ("ELSE IF clause at %L requires a scalar LOGICAL expression",
+             ("IF clause at %L requires a scalar LOGICAL expression",
               &b->expr->where);
          break;