xfail gcc.dg/debug/20020327-1.c on powerpc64

Alan Modra amodra@bigpond.net.au
Mon Feb 9 14:24:00 GMT 2004


This test fails on powerpc64 due to our ABI (well, our current
implementaion of the ABI really).  The "Letext" function below
defines both .Letext and Letext syms, clashing with gcc's use
of .Letext.  It's pointless to try to fix gcc's use of labels
when a function called "text" has similar problems.  One day
I'll fix ld so dotsyms aren't exported, but until then this
test is just noise.

	* gcc.dg/debug/20020327-1.c: xfail for powerpc64.

OK mainline and gcc-3.4?

Index: gcc/testsuite/gcc.dg/debug/20020327-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/debug/20020327-1.c,v
retrieving revision 1.2
diff -u -p -r1.2 20020327-1.c
--- gcc/testsuite/gcc.dg/debug/20020327-1.c	27 Mar 2002 10:30:45 -0000	1.2
+++ gcc/testsuite/gcc.dg/debug/20020327-1.c	9 Feb 2004 12:16:56 -0000
@@ -1,4 +1,4 @@
-/* { dg-do link } */
+/* { dg-do link { xfail powerpc64*-*-* } } */
 
 void Letext (void) { }
 int main() { return 0; }

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Gcc-patches mailing list