diff mbox

[testsuite] Skip gcc.dg/torture/20090618-1.c on IRIX (PR middle-end/47405)

Message ID yddd3loldul.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth March 18, 2011, 2:09 p.m. UTC
As described in the PR, gcc.dg/torture/20090618-1.c fails on IRIX 5 and
6 due to undefined references to mempcpy, which doesn't exist in libc.
This might be a target bug.  Richard suggested to skip the test, which
this patch does.

Tested with the appropriate runtest invocations.  Applied to mainline
and 4.5 branch, ok for 4.6 branch, too?

Thanks.
	Rainer


2011-03-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR middle-end/47405
	* gcc.dg/torture/20090618-1.c: Skip on mips-sgi-irix*.

Comments

Richard Biener March 18, 2011, 2:11 p.m. UTC | #1
On Fri, 18 Mar 2011, Rainer Orth wrote:

> As described in the PR, gcc.dg/torture/20090618-1.c fails on IRIX 5 and
> 6 due to undefined references to mempcpy, which doesn't exist in libc.
> This might be a target bug.  Richard suggested to skip the test, which
> this patch does.
> 
> Tested with the appropriate runtest invocations.  Applied to mainline
> and 4.5 branch, ok for 4.6 branch, too?

Ok.

Thanks,
Richard.

> Thanks.
> 	Rainer
> 
> 
> 2011-03-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
> 
> 	PR middle-end/47405
> 	* gcc.dg/torture/20090618-1.c: Skip on mips-sgi-irix*.
> 
> diff -r e829a5812e49 gcc/testsuite/gcc.dg/torture/20090618-1.c
> --- a/gcc/testsuite/gcc.dg/torture/20090618-1.c	Fri Mar 18 08:35:17 2011 +0000
> +++ b/gcc/testsuite/gcc.dg/torture/20090618-1.c	Fri Mar 18 10:33:59 2011 +0100
> @@ -1,5 +1,6 @@
>  /* { dg-do run } */
>  /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
> +/* { dg-skip-if "PR middle-end/47405" { mips-sgi-irix* } } */
>  
>  extern void abort (void);
>  
>
diff mbox

Patch

diff -r e829a5812e49 gcc/testsuite/gcc.dg/torture/20090618-1.c
--- a/gcc/testsuite/gcc.dg/torture/20090618-1.c	Fri Mar 18 08:35:17 2011 +0000
+++ b/gcc/testsuite/gcc.dg/torture/20090618-1.c	Fri Mar 18 10:33:59 2011 +0100
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
+/* { dg-skip-if "PR middle-end/47405" { mips-sgi-irix* } } */
 
 extern void abort (void);