This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix failure of gcc.dg/torture/pr52407.c on hppa*-*-hpux*
- From: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: rguenth at gcc dot gnu dot org, jakub at redhat dot com
- Date: Sat, 10 Mar 2012 17:04:11 -0500
- Subject: [committed] Fix failure of gcc.dg/torture/pr52407.c on hppa*-*-hpux*
- Reply-to: John David Anglin <dave dot anglin at nrc-cnrc dot gc dot ca>
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
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2012-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/torture/pr52407.c: Add -fno-common option on hppa*-*-hpux*.
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);