OSDN Git Service

* gcc.dg/Warray-bounds.c: XFAIL test on 32-bit hppa targets.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / Warray-bounds.c
index fde4570..a73cb5f 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-xfail-if "PR 31500" { hppa*-*-* && { ! hppa*64*-*-* } } } */
 /* { dg-options "-O2 -Warray-bounds" } */
 
 int a[10];
@@ -90,5 +91,5 @@ int* f(void) {
              a[i] = 1;       /* { dg-warning "array subscript" } */
 
     return a;
-}
+} /* { dg-excess-errors "PR 31500" { xfail { hppa*-*-* && { ! hppa*64*-*-* } } } } */