On powerpc-apple-darwin* we have the following failures (among others):

FAIL: gcc.dg/vect/section-anchors-pr27770.c (test for excess errors)
FAIL: gcc.dg/vect/section-anchors-vect-69.c (test for excess errors)

This can be fixed by the following patch (borrowed from
gcc/testsuite/gcc.dg/pr26427.c):

diff -u /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/section-anchors-pr27770.c
/opt/gcc/gcc-4.4-work/gcc/testsuite/gcc.dg/vect/section-anchors-pr27770.c
--- /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/section-anchors-pr27770.c    
2007-11-07 10:20:18.000000000 +0100
+++ /opt/gcc/gcc-4.4-work/gcc/testsuite/gcc.dg/vect/section-anchors-pr27770.c  
2008-03-26 18:46:12.000000000 +0100
@@ -1,3 +1,4 @@
+/* { dg-warning "this target does not support" "" { target {
powerpc-apple-darwin* } } 1 } */
 /* { dg-require-effective-target section_anchors } */ 

 #include <stdarg.h>
diff -u /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/section-anchors-vect-69.c
/opt/gcc/gcc-4.4-work/gcc/testsuite/gcc.dg/vect/section-anchors-vect-69.c
--- /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/section-anchors-vect-69.c    
2007-11-07 10:20:17.000000000 +0100
+++ /opt/gcc/gcc-4.4-work/gcc/testsuite/gcc.dg/vect/section-anchors-vect-69.c  
2008-03-26 18:45:01.000000000 +0100
@@ -1,3 +1,4 @@
+/* { dg-warning "this target does not support" "" { target {
powerpc-apple-darwin* } } 1 } */
 /* { dg-require-effective-target section_anchors } */

 #include <stdarg.h>

This fix the failures on powerpc-apple-darwin9 without regression on
i686-apple-darwin9. Note that I am not sure that '"" { target {
powerpc-apple-darwin* } } 1' is really needed. Could someone has a look before
I submit a patch?


-- 
           Summary: FAIL: gcc.dg/vect/section-anchors-pr27770.c (test for
                    excess errors)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35710

Reply via email to