PR middle-end/91069
* gcc.dg/pr91069.c (v2df): Use 2 * sizeof (double) instead of
hardcoded 16 for better portability.
(v2di): Change from long vector to long long vector. Use
2 * sizeof (long long) instead of hardcoded 16.
From-SVN: r273039
2019-07-04 Jakub Jelinek <jakub@redhat.com>
+ PR middle-end/91069
+ * gcc.dg/pr91069.c (v2df): Use 2 * sizeof (double) instead of
+ hardcoded 16 for better portability.
+ (v2di): Change from long vector to long long vector. Use
+ 2 * sizeof (long long) instead of hardcoded 16.
+
PR rtl-optimization/90756
* gcc.dg/pr90756.c: New test.
/* { dg-do run } */
/* { dg-options "-std=gnu11" } */
-typedef double v2df __attribute__((vector_size(16)));
-typedef long v2di __attribute__((vector_size(16)));
+typedef double v2df __attribute__((vector_size(2 * sizeof (double))));
+typedef long long v2di __attribute__((vector_size(2 * sizeof (long long))));
void foo (v2df *res, v2df *src)
{