From f5b281c0ed43ec7ac3e5851e28bcc5825aa26c6b Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 9 Sep 2010 01:54:21 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/c-c++-common/Wunused-var-12.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6ff0024ebea6..c18b432333e0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-09-08 John David Anglin + + * c-c++-common/Wunused-var-12.c: Add -fno-common to options on 32-bit + hppa*-*-hpux*. + 2010-09-08 Nicola Pero * 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 312680a72e85..94e56d8a8a79 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; -- 2.47.2