summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-06 00:14:01 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-06 00:14:01 +0000
commit2fc6eafab3571a152db6c99192dee95e0ed9a0f3 (patch)
treef6ec9d942a400b345065d18935caf7c4b426e6b1
parent73480e156bb568f39deef5bb9edfaaf816bd0a59 (diff)
downloadgcc-2fc6eafab3571a152db6c99192dee95e0ed9a0f3.tar.gz
* gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170706 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr47975.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6edf8e27915..40a58009c1b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*.
+
2011-03-05 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/47899
diff --git a/gcc/testsuite/gcc.dg/torture/pr47975.c b/gcc/testsuite/gcc.dg/torture/pr47975.c
index 2919452a024..e2a72af4915 100644
--- a/gcc/testsuite/gcc.dg/torture/pr47975.c
+++ b/gcc/testsuite/gcc.dg/torture/pr47975.c
@@ -1,4 +1,5 @@
/* { dg-do compile } */
+/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
int __attribute__ ((vector_size (32))) x;