[committed] obvious testcase fix

Dorit Nuzman DORIT@il.ibm.com
Sun Nov 19 12:40:00 GMT 2006


Fixed initialization of array (last element used later, but not
initialized). Committed as obvious

dorit

gcc.dg/vect/vect-27.c: Fix initialization.

Index: gcc.dg/vect/vect-27.c
===================================================================
--- gcc.dg/vect/vect-27.c       (revision 118986)
+++ gcc.dg/vect/vect-27.c       (working copy)
@@ -13,7 +13,7 @@
   int ia[N];
   int ib[N+1];

-  for (i=0; i < N; i++)
+  for (i=0; i <= N; i++)
     {
       ib[i] = i;
     }



More information about the Gcc-patches mailing list