pr54920.c: Add "-fno-common" option on hppa*-*-hpux*.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sun, 11 Nov 2012 19:16:00 +0000 (19:16 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 11 Nov 2012 19:16:00 +0000 (19:16 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/torture/vector-subscript-1.c
gcc/testsuite/c-c++-common/torture/vector-subscript-2.c
gcc/testsuite/gcc.dg/torture/pr54920.c

index 64477395c5f40221a7192c58f1a9814ea43021c4..d20dd7b38cc3ba563f0d871b86b91051b7546150 100644 (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.
index bb1350ebedcb7febcb159b69e5fefad46cab88af..6152e7c78e1b8b95d2f88bb50a647d7b73f63342 100644 (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
index 2e4a7488bbe864fc33e9c18fcffc947e85ba7b83..202b3d95a66dfcf987abd565714184fa1648c897 100644 (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
index d1622f765a7cf65e51539a67c918b35b40235d3f..6b99e9ed2eb22caca6fdfe167937b496eea653ed 100644 (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)));