This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/35710] New: FAIL: gcc.dg/vect/section-anchors-pr27770.c (test for excess errors)
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2008 19:41:48 -0000
- Subject: [Bug testsuite/35710] New: FAIL: gcc.dg/vect/section-anchors-pr27770.c (test for excess errors)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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