This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2010-10-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* gcc.dg/torture/pr45678-1.c: Add -fno-common to options on 32-bit
	hppa*-*-hpux*.
	* gcc.dg/torture/pr45678-2.c: Likewise.

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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]