From: Richard Sandiford Date: Wed, 22 Nov 2017 13:58:46 +0000 (+0000) Subject: PR83004: Accidental change to pr81136.c for VECTOR_BITS==128 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a76ef9c5a8447bf3e90ed832ef1286cda205e115;p=gcc.git PR83004: Accidental change to pr81136.c for VECTOR_BITS==128 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 gcc/testsuite/ PR testsuite/83004 * gcc.dg/vect/pr81136.c: Restore previous alignment of 32 in the default case. From-SVN: r255058 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b117fa88f04..38fc3488f06 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-11-22 Richard Sandiford + + PR testsuite/83004 + * gcc.dg/vect/pr81136.c: Restore previous alignment of 32 + in the default case. + 2017-11-22 Jakub Jelinek PR tree-optimization/83044 diff --git a/gcc/testsuite/gcc.dg/vect/pr81136.c b/gcc/testsuite/gcc.dg/vect/pr81136.c index 0ae4a4d4d5b..99405b5cdf4 100644 --- a/gcc/testsuite/gcc.dg/vect/pr81136.c +++ b/gcc/testsuite/gcc.dg/vect/pr81136.c @@ -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];