Spotted by disabling init-regs.c (see PR61810).

Bah, parts of our testsuite should be -Wall clean, really.

Tested on x86_64-unknown-linux-gnu, applied.

Richard.

2015-12-02  Richard Biener  <rguent...@suse.de>

        * gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c: Fix uninitialized
        y guarding a call to abort ().
        * gcc.dg/vect/vect-strided-a-u8-i8-gap7.c: Likewise.
        * gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c: Likewise.

Index: gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c     
(revision 231163)
+++ gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7-big-array.c     
(working copy)
@@ -26,7 +26,7 @@ main1 ()
   s *ptr = arr;
   s check_res[N];
   s res[N];
-  unsigned char u, t, s, x, y, z, w;
+  unsigned char u, t, s, x, z, w;
 
   for (i = 0; i < N; i++)
     {
Index: gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c       (revision 
231163)
+++ gcc/testsuite/gcc.dg/vect/vect-strided-a-u8-i8-gap7.c       (working copy)
@@ -25,7 +25,7 @@ main1 ()
   s arr[N];
   s *ptr = arr;
   s res[N];
-  unsigned char u, t, s, x, y, z, w;
+  unsigned char u, t, s, x, z, w;
 
   for (i = 0; i < N; i++)
     {
Index: gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c       
(revision 231163)
+++ gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap7-big-array.c       
(working copy)
@@ -26,7 +26,7 @@ main1 (s *arr)
   int i;
   s *ptr = arr;
   s res[N];
-  unsigned char u, t, s, x, y, z, w;
+  unsigned char u, t, s, x, z, w;
 
   for (i = 0; i < N; i++)
     {
@@ -65,7 +65,7 @@ int main (void)
 {
   int i;
   s arr[N];
-  unsigned char u, t, s, x, y, z, w;
+  unsigned char u, t, s, x, z, w;
 
   check_vect ();
 

Reply via email to