This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch,committed] Fix failure of gcc.dg/fold-bitand-4.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
- Date: Fri, 28 Sep 2007 23:26:51 -0400 (EDT)
- Subject: [patch,committed] Fix failure of gcc.dg/fold-bitand-4.c on hppa*-*-hpux*
This fixes another common alignment failure. Tested on
hppa2.0w-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)
2007-09-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/fold-bitand-4.c: Add -fno-common to options on hppa*-*-hpux*.
Index: gcc.dg/fold-bitand-4.c
===================================================================
--- gcc.dg/fold-bitand-4.c (revision 128856)
+++ gcc.dg/fold-bitand-4.c (working copy)
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-fdump-tree-original" } */
+/* { dg-options "-fdump-tree-original -fno-common" { target hppa*-*-hpux* } } */
typedef char char4[4] __attribute__ ((aligned (4)));
char4 c4[4] __attribute__ ((aligned (16)));