Patchwork [ob] Testsuite fix vect-1.c

login
register
mail settings
Submitter Ramana Radhakrishnan
Date Aug. 19, 2010, 10:27 a.m.
Message ID <1282213645.18869.85.camel@e102325-lin.cambridge.arm.com>
Download mbox | patch
Permalink /patch/62131/
State New
Headers show

Comments

Ramana Radhakrishnan - Aug. 19, 2010, 10:27 a.m.
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.

Patch

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