diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2012-11-11 19:16:00 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2012-11-11 19:16:00 +0000 |
commit | 2059f70d74ecc06262ea6e8351299846f2e3e530 (patch) | |
tree | 13d3713453ed36f9f9f982855003de7e3b11660b /gcc | |
parent | 82bacf11f9f3c5c795ace89ecaf5fb9955d185ae (diff) | |
download | gcc-2059f70d74ecc06262ea6e8351299846f2e3e530.zip gcc-2059f70d74ecc06262ea6e8351299846f2e3e530.tar.gz gcc-2059f70d74ecc06262ea6e8351299846f2e3e530.tar.bz2 |
pr54920.c: Add "-fno-common" option on hppa*-*-hpux*.
* gcc.dg/torture/pr54920.c: Add "-fno-common" option on hppa*-*-hpux*.
* c-c++-common/torture/vector-subscript-1.c: Likewise.
* c-c++-common/torture/vector-subscript-2.c: Likewise.
From-SVN: r193408
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/torture/vector-subscript-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/torture/vector-subscript-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr54920.c | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6447739..d20dd7b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-11-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * gcc.dg/torture/pr54920.c: Add "-fno-common" option on hppa*-*-hpux*. + * c-c++-common/torture/vector-subscript-1.c: Likewise. + * c-c++-common/torture/vector-subscript-2.c: Likewise. + 2012-11-10 Jan Hubicka <jh@suse.cz> * gcc.dg/tree-ssa/cunroll-1.c: Fix bogus testcase. diff --git a/gcc/testsuite/c-c++-common/torture/vector-subscript-1.c b/gcc/testsuite/c-c++-common/torture/vector-subscript-1.c index bb1350e..6152e7c 100644 --- a/gcc/testsuite/c-c++-common/torture/vector-subscript-1.c +++ b/gcc/testsuite/c-c++-common/torture/vector-subscript-1.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */ #define vector __attribute__((vector_size(sizeof(int)*4) )) /* Check to make sure that we extract and insert the vector at the same diff --git a/gcc/testsuite/c-c++-common/torture/vector-subscript-2.c b/gcc/testsuite/c-c++-common/torture/vector-subscript-2.c index 2e4a748..202b3d9 100644 --- a/gcc/testsuite/c-c++-common/torture/vector-subscript-2.c +++ b/gcc/testsuite/c-c++-common/torture/vector-subscript-2.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */ #define vector __attribute__((vector_size(sizeof(int)*4) )) /* Check to make sure that we extract and insert the vector at the same diff --git a/gcc/testsuite/gcc.dg/torture/pr54920.c b/gcc/testsuite/gcc.dg/torture/pr54920.c index d1622f7..6b99e9e 100644 --- a/gcc/testsuite/gcc.dg/torture/pr54920.c +++ b/gcc/testsuite/gcc.dg/torture/pr54920.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */ typedef short __v8hi __attribute__ ((__vector_size__ (16))); typedef long long __m128i __attribute__ ((__vector_size__ (16))); |