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
This commit is contained in:
John David Anglin 2012-11-11 19:16:00 +00:00 committed by John David Anglin
parent 82bacf11f9
commit 2059f70d74
4 changed files with 9 additions and 0 deletions

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -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)));