[patch,committed] Fix failure of gcc.dg/fold-bitand-4.c on hppa*-*-hpux*

John David Anglin dave@hiauly1.hia.nrc.ca
Sat Sep 29 06:02:00 GMT 2007


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)));



More information about the Gcc-patches mailing list