diff mbox

[committed] Fix failure of gcc.dg/torture/pr45678-[12].c on 32-bit hpux

Message ID 20101002184957.GA4024@hiauly1.hia.nrc.ca
State New
Headers show

Commit Message

John David Anglin Oct. 2, 2010, 6:49 p.m. UTC
Need -fno-common on 32-bit hpux due to alignment limitations of common.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed to
trunk.

Dave
diff mbox

Patch

Index: gcc.dg/torture/pr45678-1.c
===================================================================
--- gcc.dg/torture/pr45678-1.c	(revision 164905)
+++ gcc.dg/torture/pr45678-1.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } } } */
 
 typedef float V __attribute__ ((vector_size (16)));
 V g;
Index: gcc.dg/torture/pr45678-2.c
===================================================================
--- gcc.dg/torture/pr45678-2.c	(revision 164905)
+++ gcc.dg/torture/pr45678-2.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } } } */
 
 typedef float V __attribute__ ((vector_size (16)));
 V g;