diff mbox

[committed] Add -fno-common to various testcases on hppa*-hp-hpux*

Message ID 20121111191940.GA21899@hiauly1.hia.nrc.ca
State New
Headers show

Commit Message

John David Anglin Nov. 11, 2012, 7:19 p.m. UTC
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed to trunk.

Dave
diff mbox

Patch

Index: gcc.dg/torture/pr54920.c
===================================================================
--- gcc.dg/torture/pr54920.c	(revision 192652)
+++ gcc.dg/torture/pr54920.c	(working copy)
@@ -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)));
Index: c-c++-common/torture/vector-subscript-1.c
===================================================================
--- c-c++-common/torture/vector-subscript-1.c	(revision 192652)
+++ c-c++-common/torture/vector-subscript-1.c	(working copy)
@@ -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: c-c++-common/torture/vector-subscript-2.c
===================================================================
--- c-c++-common/torture/vector-subscript-2.c	(revision 192652)
+++ c-c++-common/torture/vector-subscript-2.c	(working copy)
@@ -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