OSDN Git Service

* simplify.c (gfc_simplify_size): Fix typo.
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Oct 2007 12:17:32 +0000 (12:17 +0000)
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Oct 2007 12:17:32 +0000 (12:17 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129053 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/fortran/simplify.c

index 9093bed..f489db1 100644 (file)
@@ -1,5 +1,9 @@
 2007-10-06  Tobias Schlüter  <tobi@gcc.gnu.org>
 
+       * simplify.c (gfc_simplify_size): Fix typo.
+
+2007-10-06  Tobias Schlüter  <tobi@gcc.gnu.org>
+
        PR fortran/25076
        * resolve.c (gfc_find_forall_index): Move towards top,
        renaming to ...
index e581a21..4701f9e 100644 (file)
@@ -3651,7 +3651,7 @@ gfc_simplify_size (gfc_expr *array, gfc_expr *dim, gfc_expr *kind)
   mpz_t size;
   gfc_expr *result;
   int d;
-  int k = get_kind (BT_INTEGER, kind, "SCAN", gfc_default_integer_kind);
+  int k = get_kind (BT_INTEGER, kind, "SIZE", gfc_default_integer_kind);
 
   if (k == -1)
     return &gfc_bad_expr;