From: Jakub Jelinek Date: Thu, 4 Jul 2019 05:10:52 +0000 (+0200) Subject: re PR tree-optimization/91069 (Miscompare of 453.povray since r272843) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b150619545449f40d14acb87d636535e1e838ac;p=gcc.git re PR tree-optimization/91069 (Miscompare of 453.povray since r272843) 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 66045e531c2..a43816741b9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2019-07-04 Jakub Jelinek + 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. diff --git a/gcc/testsuite/gcc.dg/pr91069.c b/gcc/testsuite/gcc.dg/pr91069.c index 221da30a94c..fdb2cfd062f 100644 --- a/gcc/testsuite/gcc.dg/pr91069.c +++ b/gcc/testsuite/gcc.dg/pr91069.c @@ -1,8 +1,8 @@ /* { 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) {