diff mbox

[committed] Fix gcc.dg/torture/pr65270-1.c an gcc.dg/torture/pr65270-2.c on hppa*-*-hpux*

Message ID BLU436-SMTP176B00EDC7E3358FD5EE2B497050@phx.gbl
State New
Headers show

Commit Message

John David Anglin March 15, 2015, 11:54 p.m. UTC
The attach change adds the -fno-common option on hppa*-*-hpux*.  This provides necessary alignment.

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

Dave
--
John David Anglin	dave.anglin@bell.net
2015-03-15  John David Anglin  <danglin@gcc.gnu.org>

	* gcc.dg/torture/pr65270-1.c: Add -fno-common to dg-options on
	hppa*-*-hpux*.
	* gcc.dg/torture/pr65270-2.c: Likewise.
diff mbox

Patch

Index: gcc.dg/torture/pr65270-1.c
===================================================================
--- gcc.dg/torture/pr65270-1.c	(revision 221432)
+++ gcc.dg/torture/pr65270-1.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 
 struct a 
 {
Index: gcc.dg/torture/pr65270-2.c
===================================================================
--- gcc.dg/torture/pr65270-2.c	(revision 221432)
+++ gcc.dg/torture/pr65270-2.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do run } */
+/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
 
 struct a 
 {