PR83004: Accidental change to pr81136.c for VECTOR_BITS==128
authorRichard Sandiford <richard.sandiford@linaro.org>
Wed, 22 Nov 2017 13:58:46 +0000 (13:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 22 Nov 2017 13:58:46 +0000 (13:58 +0000)
r254589 was supposed to leave tests unchanged for the default
VECTOR_BITS==128, but I must have got my sums wrong on pr81136.c.

2017-11-22  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/testsuite/
PR testsuite/83004
* gcc.dg/vect/pr81136.c: Restore previous alignment of 32
in the default case.

From-SVN: r255058

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr81136.c

index b117fa88f0498bdfa7a79a3e569789af30940753..38fc3488f0620bd251473394e9f42cc63768ba3f 100644 (file)
@@ -1,3 +1,9 @@
+2017-11-22  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       PR testsuite/83004
+       * gcc.dg/vect/pr81136.c: Restore previous alignment of 32
+       in the default case.
+
 2017-11-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/83044
index 0ae4a4d4d5b66b8c40c7d04c8dc644218b7a4221..99405b5cdf458acca4bdabf3c4bc5d5832bb572b 100644 (file)
@@ -2,7 +2,13 @@
 
 #include "tree-vect.h"
 
-struct __attribute__((aligned (VECTOR_BITS / 8)))
+#if VECTOR_BITS > 256
+#define ALIGNMENT (VECTOR_BITS / 8)
+#else
+#define ALIGNMENT 32
+#endif
+
+struct __attribute__((aligned (ALIGNMENT)))
 {
   char misaligner;
   int foo[100];