re PR middle-end/78142 (Commit r241590 is more registers to be used for on gcc.target...
authorTamar Christina <tamar.christina@arm.com>
Thu, 2 Feb 2017 16:35:15 +0000 (16:35 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Thu, 2 Feb 2017 16:35:15 +0000 (16:35 +0000)
PR middle-end/78142
* gcc.target/aarch64/vector_initialization_nostack.c
(f12): Use one vector

From-SVN: r245132

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c

index fe055b2caf731ca83b2aa398640254bb197d8580..04312df7432847ee31a9b628871049c6d1e72a42 100644 (file)
@@ -1,3 +1,9 @@
+2017-02-02  Tamar Christina  <tamar.christina@arm.com>
+
+       PR middle-end/78142
+       * gcc.target/aarch64/vector_initialization_nostack.c
+       (f12): Use one vector
+
 2017-02-02  Jakub Jelinek  <jakub@redhat.com>
 
        * c-c++-common/asan/pr63316.c: Use dg-skip-if instead of dg-options.
index bbad04d00263b6a91b826b4911af92bdd226c821..bf43f1cd72ec4e636dbd45534c9ab348bee8febc 100644 (file)
@@ -38,14 +38,14 @@ f11 (void)
   return sum;
 }
 
-char arr_c[100][100];
+char arr_c[100];
 char
 f12 (void)
 {
   int i;
   char sum = 0;
   for (i = 0; i < 100; i++)
-    sum += arr_c[i][0] * arr_c[0][i];
+    sum += arr_c[i] * arr_c[i];
   return sum;
 }