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
This commit is contained in:
John David Anglin 2010-09-09 01:54:21 +00:00 committed by John David Anglin
parent c71cc32487
commit f5b281c0ed
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -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;