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 ob] Testsuite fix vect-1.c


Hi,

While committing Tejas's last patch, I accidentally committed the wrong
bit in. 

Fixed thusly.

cheers
Ramana

2010-08-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* gcc.dg/vect/vect-1.c (foo): Fix last commit.

--- trunk/gcc/testsuite/gcc.dg/vect/vect-1.c	2010/08/19 08:30:59	163368
+++ trunk/gcc/testsuite/gcc.dg/vect/vect-1.c	2010/08/19 10:23:50	163370
@@ -37,7 +37,7 @@
   /* Vectorizable.  */
   diff = 0;
   for (i = 0; i < N; i++) {
-    for (j = 0; i < N; j++) {
+    for (j = 0; j < N; j++) {
       diff += (image[i][j] - block[i][j]);
     }
   }


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