diff mbox

[committed] Add -fno-common option on hppa-*-hpux* in gcc.dg/tm/pr51472.c

Message ID 20120130000700.GC6757@hiauly1.hia.nrc.ca
State New
Headers show

Commit Message

John David Anglin Jan. 30, 2012, 12:07 a.m. UTC
Work around limited common alignment.  Tested on hppa2.0w-hp-hpux11.11
and hppa64-hp-hpux11.11.

Dave

Comments

Andreas Schwab Jan. 30, 2012, 9:34 a.m. UTC | #1
John David Anglin <dave@hiauly1.hia.nrc.ca> writes:

> Index: gcc.dg/tm/pr51472.c
> ===================================================================
> --- gcc.dg/tm/pr51472.c	(revision 183677)
> +++ gcc.dg/tm/pr51472.c	(working copy)
> @@ -1,5 +1,6 @@
>  /* { dg-do compile } */
>  /* { dg-options "-fgnu-tm -O  --param tm-max-aggregate-size=32" } */
> +/* { dg-options "-fgnu-tm -fno-common -O  --param tm-max-aggregate-size=32" { target hppa*-*-hpux* } } */

Please use dg-additional-options.

Andreas.
diff mbox

Patch

Index: gcc.dg/tm/pr51472.c
===================================================================
--- gcc.dg/tm/pr51472.c	(revision 183677)
+++ gcc.dg/tm/pr51472.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-fgnu-tm -O  --param tm-max-aggregate-size=32" } */
+/* { dg-options "-fgnu-tm -fno-common -O  --param tm-max-aggregate-size=32" { target hppa*-*-hpux* } } */
 
 typedef int __attribute__ ((vector_size (16))) vectype;
 vectype v;