This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: xfail gcc.dg/debug/20020327-1.c on powerpc64
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org, David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 10 Feb 2004 21:06:16 +1030
- Subject: Re: xfail gcc.dg/debug/20020327-1.c on powerpc64
- References: <20040209130340.GL12016@bubble.modra.org>
On Mon, Feb 09, 2004 at 11:33:40PM +1030, Alan Modra wrote:
> * gcc.dg/debug/20020327-1.c: xfail for powerpc64.
Oops, I thought I tested this, but obviously not.
* gcc.dg/debug/20020327-1.c: Disable for powerpc64.
And this one really has been tested.. OK?
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.3
diff -u -p -r1.3 20020327-1.c
--- gcc/testsuite/gcc.dg/debug/20020327-1.c 9 Feb 2004 22:50:17 -0000 1.3
+++ gcc/testsuite/gcc.dg/debug/20020327-1.c 10 Feb 2004 10:22:56 -0000
@@ -1,4 +1,12 @@
-/* { dg-do link { xfail powerpc64*-*-* } } */
+/* { dg-do link } */
+#ifndef __powerpc64__
+/* Fails on powerpc64-linux due to the function Letext using a global
+ .Letext symbol that conflicts with .Letext emitted by gcc with
+ -gstabs. Some day the linker will be fixed to not require global
+ "dot" syms, but for now disable this test entirely for powerpc64.
+ Using xfail doesn't work, nor does dg-excess-errors because some
+ combinations of command line options won't cause this test to fail. */
void Letext (void) { }
+#endif
int main() { return 0; }
--
Alan Modra
IBM OzLabs - Linux Technology Centre