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.ang...@bell.net


2015-03-15  John David Anglin  <dang...@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.

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 
 {

Reply via email to