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]

Re: [PATCH]: Skip gcc.dg/out-of-bounds-1.c on powerpc darwin


On Fri, 2008-01-04 at 11:02 -0800, Janis Johnson wrote:
> On Sun, 2007-12-23 at 16:34 -0500, Jack Howarth wrote:
> > The following patch adds a dg-skip-if to gcc.dg/out-bounds-1.c so
> > that it isn't run on powerpc darwin. Tested on powerpc-apple-darwin9.
> > Okay for gcc trunk?
> 
> Why should it be skipped for PowerPC Darwin?

We figured out offline that the test doesn't need to be
skipped, but it shouldn't use -mstrict-align for Darwin.
I checked in the following.

2008-01-07  Jack Howarth  <howarth@bromo.med.uc.edu>

	* gcc.dg/out-of-bounds-1.c: Don't use -mstrict-align for Darwin.

Index: gcc/testsuite/gcc.dg/out-of-bounds-1.c
===================================================================
--- gcc/testsuite/gcc.dg/out-of-bounds-1.c	(revision 131375)
+++ gcc/testsuite/gcc.dg/out-of-bounds-1.c	(working copy)
@@ -3,7 +3,7 @@
 
 /* { dg-do compile } */
 /* { dg-options "-O -g" } */
-/* { dg-options "-O -g -mstrict-align" { target powerpc*-*-* } } */
+/* { dg-options "-O -g -mstrict-align" { target { powerpc*-*-linux* powerpc*-*-elf* } } } */
 
 void ProjectOverlay(const float localTextureAxis[2], char *lump)
 {



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