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  <r...@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);
 
-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to