This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Fix a typo in compute_overall_iter_number
- From: "H. J. Lu" <hjl at lucon dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: fortran at gcc dot gnu dot org, roger at eyesopen dot com
- Date: Thu, 18 Jan 2007 11:17:58 -0800
- Subject: PATCH: Fix a typo in compute_overall_iter_number
I am checking this patch to fix a typo in
http://gcc.gnu.org/ml/gcc-cvs/2007-01/msg00610.html
H.J.
---
2007-01-17 H.J. Lu <hongjiu.lu@intel.com>
* trans-stmt.c (compute_overall_iter_number): Fix a typo.
--- gcc/fortran/trans-stmt.c.typo 2007-01-18 10:42:36.000000000 -0800
+++ gcc/fortran/trans-stmt.c 2007-01-18 11:14:40.000000000 -0800
@@ -2057,7 +2057,7 @@ compute_overall_iter_number (forall_info
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;
}
}