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 typo in lambda-code.c


I will commit the attached patch that fixes a typo in lambda-code.c.
We're currently computing the inverse matrix only with the debug flags.

Sebastian
-- 
AMD - GNU Tools
2007-12-21  Sebastian Pop  <sebastian.pop@amd.com>
 
	* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Fix typo.

Index: lambda-code.c
===================================================================
--- lambda-code.c	(revision 131122)
+++ lambda-code.c	(working copy)
@@ -1702,12 +1702,12 @@ lambda_loopnest_to_gcc_loopnest (struct 
   size_t depth = 0;
   VEC(tree,heap) *new_ivs = NULL;
   tree oldiv;
-  
   block_stmt_iterator bsi;
 
+  transform = lambda_trans_matrix_inverse (transform);
+
   if (dump_file)
     {
-      transform = lambda_trans_matrix_inverse (transform);
       fprintf (dump_file, "Inverse of transformation matrix:\n");
       print_lambda_trans_matrix (dump_file, transform);
     }

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