public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix gcc.dg/pr48616.c on hppa*-*-hpux*
@ 2011-04-23 21:36 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2011-04-23 21:36 UTC (permalink / raw)
  To: gcc-patches

Test fails on hppa*-*-hpux* because specified alignment exceeds maximum
common alignment.  So add -fno-common option with target hppa*-*-hpux*.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed to
trunk and 4.6 branch.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2011-04-23  John David Anglin  <dave.anglin@nrc-cnrc.ca>

	* gcc.dg/pr48616.c (dg-options): Add -fno-common to options on
	hppa*-*-hpux*.

Index: gcc.dg/pr48616.c
===================================================================
--- gcc.dg/pr48616.c	(revision 172860)
+++ gcc.dg/pr48616.c	(working copy)
@@ -1,6 +1,7 @@
 /* PR tree-optimization/48616 */
 /* { dg-do run } */
 /* { dg-options "-O2 -ftree-vectorize" } */
+/* { dg-options "-O2 -ftree-vectorize -fno-common" { target hppa*-*-hpux* } } */
 
 extern void abort (void);
 int a[4] __attribute__((aligned (32)));

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-23 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-23 21:36 [committed] Fix gcc.dg/pr48616.c on hppa*-*-hpux* John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).