update gcc.target/powerpc/stabs-attrib-vect-darwin.c

Geoffrey Keating gkeating@apple.com
Tue Feb 27 06:52:00 GMT 2007


This test was spuriously failing because the '16' was altered by the
decimal floating-point stuff.

When I ran it, it also didn't work because I couldn't get GCC to
actually output an '=@V'.  I checked that the test did pass if the
'=@V' was not there in the test.  So, there is probably also a real
bug as well as a testsuite bug.

Tested by running runtest against the system compiler.

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/gcc-testsuite-4875176.patch===============
2007-02-26  Geoffrey Keating  <geoffk@apple.com>

	* gcc.target/powerpc/stabs-attrib-vect-darwin.c: Allow
	for more builtin types.

Index: gcc/testsuite/gcc.target/powerpc/stabs-attrib-vect-darwin.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/stabs-attrib-vect-darwin.c	(revision 122348)
+++ gcc/testsuite/gcc.target/powerpc/stabs-attrib-vect-darwin.c	(working copy)
@@ -8,4 +8,4 @@
   return 0;
 }
 
-/* { dg-final { scan-assembler ".stabs.*vi\:\\(0,16\\)=\@V" } } */
+/* { dg-final { scan-assembler ".stabs.*vi\:\\(0,\[0-9\]+\\)=\@V" } } */
============================================================



More information about the Gcc-patches mailing list