diff mbox

[trunk,4.5] PR testsuite/44195, Limit x86 specific lto test case to x86

Message ID 1278010191.3681.5.camel@otta
State New
Headers show

Commit Message

Peter Bergner July 1, 2010, 6:49 p.m. UTC
The 20100518_0.c test case uses x86 specific inline asm instructions
(decl and jnz).  The following patch disables the test case unless
we're on x86.  Ok for mainline and 4.5?

Peter


	PR testsuite/44195
	* gcc.dg/lto/20100518_0.c: Limit to x86.

Comments

Richard Biener July 1, 2010, 9:15 p.m. UTC | #1
On Thu, Jul 1, 2010 at 8:49 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:
> The 20100518_0.c test case uses x86 specific inline asm instructions
> (decl and jnz).  The following patch disables the test case unless
> we're on x86.  Ok for mainline and 4.5?

Ok.

Thanks,
Richard.

> Peter
>
>
>        PR testsuite/44195
>        * gcc.dg/lto/20100518_0.c: Limit to x86.
>
> Index: gcc.dg/lto/20100518_0.c
> ===================================================================
> --- gcc.dg/lto/20100518_0.c     (revision 161676)
> +++ gcc.dg/lto/20100518_0.c     (working copy)
> @@ -1,4 +1,5 @@
>  /* { dg-lto-do link } */
> +/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
>  /* Forgot to steam in/out the number of labels for asm goto.  PR44184.  */
>
>  extern int printf (__const char *__restrict __format, ...);
>
>
>
Peter Bergner July 6, 2010, 5:02 p.m. UTC | #2
On Thu, 2010-07-01 at 23:15 +0200, Richard Guenther wrote:
> On Thu, Jul 1, 2010 at 8:49 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:
> > The 20100518_0.c test case uses x86 specific inline asm instructions
> > (decl and jnz).  The following patch disables the test case unless
> > we're on x86.  Ok for mainline and 4.5?
> 
> Ok.

Committed, thanks.

Peter
diff mbox

Patch

Index: gcc.dg/lto/20100518_0.c
===================================================================
--- gcc.dg/lto/20100518_0.c	(revision 161676)
+++ gcc.dg/lto/20100518_0.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-lto-do link } */
+/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
 /* Forgot to steam in/out the number of labels for asm goto.  PR44184.  */
 
 extern int printf (__const char *__restrict __format, ...);