diff mbox

[committed] Fix pr47975.c test compilation on hppa*-*-hpux*

Message ID 20110306001810.GA10477@hiauly1.hia.nrc.ca
State New
Headers show

Commit Message

John David Anglin March 6, 2011, 12:18 a.m. UTC
On hppa*-*-hpux*, we can't use common for a vector size of 32 due to alignment
limitiations.  Tested on hppa2.0w-hp-hpux11.11.  Committed to trunk.

Dave
diff mbox

Patch

Index: gcc.dg/torture/pr47975.c
===================================================================
--- gcc.dg/torture/pr47975.c	(revision 170674)
+++ gcc.dg/torture/pr47975.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
 
 int __attribute__ ((vector_size (32))) x;