[patch testsuite]: Correct testcase for LLP64 targets

Jakub Jelinek jakub@redhat.com
Mon Mar 17 09:58:00 GMT 2014


On Mon, Mar 17, 2014 at 10:50:35AM +0100, Rainer Orth wrote:
> Hi Kai,
> 
> > Index: gcc.c-torture/compile/20010327-1.c
> > ===================================================================
> > --- gcc.c-torture/compile/20010327-1.c    (Revision 208594)
> > +++ gcc.c-torture/compile/20010327-1.c    (Arbeitskopie)
> > @@ -1,4 +1,5 @@
> >  /* { dg-require-effective-target ptr32plus } */
> > +/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { llp64 } } { "*" } { "" } } */
> 
> the usual comments apply:
> 
> * add a comment/PR reference as the first arg to dg-skip-if explaining
>   the skip
> 
> * omit the default args { "*" } { "" }

Or perhaps just drop dg-require-effective-target directive and instead do
/* { dg-do compile { target { ptr32plus && ! llp64 } } } */

	Jakub



More information about the Gcc-patches mailing list