Patchwork [committed] Fix failure of gcc.dg/torture/pr52407.c on hppa*-*-hpux*

login
register
mail settings
Submitter John David Anglin
Date March 10, 2012, 10:04 p.m.
Message ID <20120310220411.GA3188@hiauly1.hia.nrc.ca>
Download mbox | patch
Permalink /patch/145907/
State New
Headers show

Comments

John David Anglin - March 10, 2012, 10:04 p.m.
Work around limited alignment of common.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed to trunk.

Ok for 4.7?

Dave
Richard Guenther - March 12, 2012, 9:56 a.m.
On Sat, 10 Mar 2012, John David Anglin wrote:

> Work around limited alignment of common.
> 
> Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed to trunk.
> 
> Ok for 4.7?

Ok.

Thanks,
Richard.

Patch

Index: gcc.dg/torture/pr52407.c
===================================================================
--- gcc.dg/torture/pr52407.c	(revision 184849)
+++ gcc.dg/torture/pr52407.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 
 extern void abort (void);