This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;
 	}
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]