From patchwork Thu Nov 1 13:47:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: skip gcc.target/i386/pr53249.c on darwin Date: Thu, 01 Nov 2012 03:47:05 -0000 From: Jack Howarth X-Patchwork-Id: 196203 Message-Id: <20121101134705.GA14886@bromo.med.uc.edu> To: Rainer Orth Cc: gcc-patches@gcc.gnu.org, mikestump@comcast.net, iain@codesourcery.com, hjl.tools@gmail.com On Fri, Aug 24, 2012 at 04:13:20PM +0200, Rainer Orth wrote: > Jack Howarth writes: > > > Currently the new testcase for gcc.target/i386/pr53249.c is failing > > on darwin due to the absence of -mx32 support on that target. The following > > patch skips this testcase on darwin. Tested on x86_64-apple-darwin12... > > This also fails on Solaris/x86 (cf. PR testsuite/53365) and > i686-unknown-linux-gnu. I'd strongly prefer if HJ could devise a real > fix instead of just skipping the test on an explicit list of systems. > > Rainer Rainer, What about using... This converts the failure at -m64 into an unsupported testcase on x86_64-apple-darwin12. Jack > > -- > ----------------------------------------------------------------------------- > Rainer Orth, Center for Biotechnology, Bielefeld University Index: gcc/testsuite/gcc.target/i386/pr53249.c =================================================================== --- gcc/testsuite/gcc.target/i386/pr53249.c (revision 193061) +++ gcc/testsuite/gcc.target/i386/pr53249.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-do compile { target { ! { ia32 } } } } */ +/* { dg-do compile { target { ! { ia32 || llp64 } } } } */ /* { dg-options "-O2 -mx32 -ftls-model=initial-exec -maddress-mode=short" } */ struct gomp_task