diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2013-08-14 18:24:06 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2013-08-14 19:24:06 +0100 |
commit | 7aea3d368fd23cdd93a479fd0a7286b02e8ed3cd (patch) | |
tree | 71152a962b3462a39724e093e19b837a828749c1 | |
parent | c06aeb213f9a546848339453e64c01264abfdf1e (diff) | |
download | gcc-7aea3d368fd23cdd93a479fd0a7286b02e8ed3cd.zip gcc-7aea3d368fd23cdd93a479fd0a7286b02e8ed3cd.tar.gz gcc-7aea3d368fd23cdd93a479fd0a7286b02e8ed3cd.tar.bz2 |
pr44214-1.c (v2df): Define size using sizeof (double).
* gcc.dg/pr44214-1.c (v2df): Define size using sizeof (double).
* gcc.dg/pr44214-3.c (v2df): Likewise.
From-SVN: r201739
-rw-r--r-- | gcc/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr44214-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr44214-3.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a53aa33..0cfb1a42 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -49,6 +49,9 @@ * gcc.dg/torture/stackalign/builtin-apply-2.c: Also skip for avr. + * gcc.dg/pr44214-1.c (v2df): Define size using sizeof (double). + * gcc.dg/pr44214-3.c (v2df): Likewise. + 2013-08-14 Janis Johnson <janisjo@codesourcery.com> * gcc.target/arm/pr19599.c: Skip for -mthumb. diff --git a/gcc/testsuite/gcc.dg/pr44214-1.c b/gcc/testsuite/gcc.dg/pr44214-1.c index 292ce57..28194e4 100644 --- a/gcc/testsuite/gcc.dg/pr44214-1.c +++ b/gcc/testsuite/gcc.dg/pr44214-1.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -freciprocal-math -fdump-tree-ccp1" } */ -typedef double v2df __attribute__ ((vector_size (16))); +typedef double v2df __attribute__ ((vector_size (2 * sizeof (double)))); void do_div (v2df *a, v2df *b) { diff --git a/gcc/testsuite/gcc.dg/pr44214-3.c b/gcc/testsuite/gcc.dg/pr44214-3.c index 46d5ee8..a0eb35b 100644 --- a/gcc/testsuite/gcc.dg/pr44214-3.c +++ b/gcc/testsuite/gcc.dg/pr44214-3.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-ccp1" } */ -typedef double v2df __attribute__ ((vector_size (16))); +typedef double v2df __attribute__ ((vector_size (2 * sizeof (double)))); void do_div (v2df *a, v2df *b) { |