diff mbox

[committed] Avoid common in some tests on hppa*-*-hpux*

Message ID 20111030144737.GA13461@hiauly1.hia.nrc.ca
State New
Headers show

Commit Message

John David Anglin Oct. 30, 2011, 2:47 p.m. UTC
Add -fno-common to some more tests on hppa*-*-hpux* to avoid limited
alignment capabilities.

Tested on hppa2.0w-hp-hpux11.11.  Committed to trunk.

Dave
diff mbox

Patch

Index: gcc.dg/scal-to-vec2.c
===================================================================
--- gcc.dg/scal-to-vec2.c	(revision 180650)
+++ gcc.dg/scal-to-vec2.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */   
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 
 /* Test for C_MAYBE_CONST are folded correctly when 
    expanding an expression to vector.  */
Index: gcc.dg/torture/vshuf-v8hi.c
===================================================================
--- gcc.dg/torture/vshuf-v8hi.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v8hi.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v4si.c
===================================================================
--- gcc.dg/torture/vshuf-v4si.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v4si.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v8si.c
===================================================================
--- gcc.dg/torture/vshuf-v8si.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v8si.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v32qi.c
===================================================================
--- gcc.dg/torture/vshuf-v32qi.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v32qi.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v4di.c
===================================================================
--- gcc.dg/torture/vshuf-v4di.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v4di.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v2df.c
===================================================================
--- gcc.dg/torture/vshuf-v2df.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v2df.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v16qi.c
===================================================================
--- gcc.dg/torture/vshuf-v16qi.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v16qi.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v4sf.c
===================================================================
--- gcc.dg/torture/vshuf-v4sf.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v4sf.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v8sf.c
===================================================================
--- gcc.dg/torture/vshuf-v8sf.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v8sf.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v2di.c
===================================================================
--- gcc.dg/torture/vshuf-v2di.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v2di.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v16hi.c
===================================================================
--- gcc.dg/torture/vshuf-v16hi.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v16hi.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/torture/vshuf-v4df.c
===================================================================
--- gcc.dg/torture/vshuf-v4df.c	(revision 180650)
+++ gcc.dg/torture/vshuf-v4df.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-DEXPENSIVE" { target run_expensive_tests } } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "*" } { "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
Index: gcc.dg/tree-ssa/ssa-fre-31.c
===================================================================
--- gcc.dg/tree-ssa/ssa-fre-31.c	(revision 180650)
+++ gcc.dg/tree-ssa/ssa-fre-31.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O -fdump-tree-fre1-details" } */
+/* { dg-options "-O -fdump-tree-fre1-details -fno-common" { target hppa*-*-hpux* } } */
 
 typedef double d128 __attribute__((vector_size(16)));
 typedef float f128 __attribute__((vector_size(16)));
Index: gcc.dg/tree-ssa/ssa-fre-33.c
===================================================================
--- gcc.dg/tree-ssa/ssa-fre-33.c	(revision 180650)
+++ gcc.dg/tree-ssa/ssa-fre-33.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O -fdump-tree-fre1-details" } */
+/* { dg-options "-O -fdump-tree-fre1-details -fno-common" { target hppa*-*-hpux* } } */
 
 #define vector __attribute__((vector_size(16) ))
 
Index: gcc.dg/tree-ssa/ssa-fre-34.c
===================================================================
--- gcc.dg/tree-ssa/ssa-fre-34.c	(revision 180650)
+++ gcc.dg/tree-ssa/ssa-fre-34.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O -fdump-tree-fre1-details" } */
+/* { dg-options "-O -fdump-tree-fre1-details -fno-common" { target hppa*-*-hpux* } } */
 
 #define vector __attribute__((vector_size(16) ))
 
Index: gcc.dg/vector-compare-2.c
===================================================================
--- gcc.dg/vector-compare-2.c	(revision 180650)
+++ gcc.dg/vector-compare-2.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */   
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 
 /* Test if C_MAYBE_CONST are folded correctly when 
    creating VEC_COND_EXPR.  */