OSDN Git Service

2007-01-18 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2007 19:24:41 +0000 (19:24 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2007 19:24:41 +0000 (19:24 +0000)
* trans-stmt.c (compute_overall_iter_number): Fix a typo.

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

gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c

index 671a21e..103b259 100644 (file)
@@ -1,3 +1,7 @@
+2007-01-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * trans-stmt.c (compute_overall_iter_number): Fix a typo.
+
 2007-01-18  Roger Sayle  <roger@eyesopen.com>
 
        * trans-expr.c (copyable_array_p): Consider user derived types without
index c36d6fa..47a846e 100644 (file)
@@ -2057,7 +2057,7 @@ compute_overall_iter_number (forall_info *nested_forall_info, tree inner_size,
               forall_tmp;
               forall_tmp = forall_tmp->next_nest)
            tmp = fold_build2 (MULT_EXPR, gfc_array_index_type,
-                              tmp, forall->size);
+                              tmp, forall_tmp->size);
          return tmp;
        }
     }