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]

[committed] obvious testcase fix


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


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