aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2010-09-09 01:54:21 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2010-09-09 01:54:21 +0000
commitf5b281c0ed43ec7ac3e5851e28bcc5825aa26c6b (patch)
tree2ce1c3e3e2eecc71b098b3b5ac1e14cffcdac1e8 /gcc
parentc71cc32487f882220c0698eeb4cc554912b87238 (diff)
downloadgcc-f5b281c0ed43ec7ac3e5851e28bcc5825aa26c6b.zip
gcc-f5b281c0ed43ec7ac3e5851e28bcc5825aa26c6b.tar.gz
gcc-f5b281c0ed43ec7ac3e5851e28bcc5825aa26c6b.tar.bz2
Wunused-var-12.c: Add -fno-common to options on 32-bit hppa*-*-hpux*.
* c-c++-common/Wunused-var-12.c: Add -fno-common to options on 32-bit hppa*-*-hpux*. From-SVN: r164044
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/c-c++-common/Wunused-var-12.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6ff0024..c18b432 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * c-c++-common/Wunused-var-12.c: Add -fno-common to options on 32-bit
+ hppa*-*-hpux*.
+
2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
* objc/execute/exceptions/throw-nil.m: New test.
diff --git a/gcc/testsuite/c-c++-common/Wunused-var-12.c b/gcc/testsuite/c-c++-common/Wunused-var-12.c
index 312680a..94e56d8 100644
--- a/gcc/testsuite/c-c++-common/Wunused-var-12.c
+++ b/gcc/testsuite/c-c++-common/Wunused-var-12.c
@@ -1,6 +1,7 @@
/* PR c++/44780 */
/* { dg-do compile } */
/* { dg-options "-Wunused" } */
+/* { dg-options "-Wunused -fno-common" { target { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } } } */
typedef double vec __attribute__ ((__vector_size__ (16)));
vec c, d;