C++ PATCH: Fix sprintf format

Eric Botcazou ebotcazou@libertysurf.fr
Fri Jun 20 10:23:00 GMT 2003


> OK -- I think I get it.  If, in addition to the patch you tried, you
> also reverse the order of the two dg-xfail-if lines, I think it will
> work.  Would you try that, and let me know?
>
> (The dg-xfail-if lines need to go from less specific targets to more
> specific targets.)

Oh!

Mark, I'm really sorry, I should have detected the problem earlier: your 
patch has added a "*" that wasn't in the original .x file. We treat SPARC 
and SPARC64 differently for this testcase.

But I confirm that I need your latest patch too in addition to the patch 
below.

-- 
Eric Botcazou


Index: gcc.c-torture/compile/simd-5.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/simd-5.c,v
retrieving revision 1.4
diff -u -r1.4 simd-5.c
--- gcc.c-torture/compile/simd-5.c      16 Jun 2003 19:12:14 -0000      1.4
+++ gcc.c-torture/compile/simd-5.c      20 Jun 2003 09:02:12 -0000
@@ -3,7 +3,7 @@
 /* On SPARC64/SPARC-V9 it fails, except with -m32. */
 /* { dg-xfail-if "PR target/9200" { "sparc64-*-*" "sparcv9-*-*" } { "*" } { 
"-m32" } } */
 /* On regular SPARC it doesn't fail, except with -m64. */
-/* { dg-xfail-if "PR target/9200" { "sparc*-*-*" } { "-m64" } { "" } } */
+/* { dg-xfail-if "PR target/9200" { "sparc-*-*" } { "-m64" } { "" } } */

 #define vector64 __attribute__((vector_size(8)))



More information about the Gcc-patches mailing list