diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/warn/Warray-bounds.C | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/Warray-bounds.c | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ba92802..ffa4cfb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-07-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR rtl-optimization/31500 + * gcc.dg/Warray-bounds.c: Remove hppa xfails. + * g++.dg/warn/Warray-bounds.C: Likewise. + 2007-07-25 H.J. Lu <hongjiu.lu@intel.com> * gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: Updated. diff --git a/gcc/testsuite/g++.dg/warn/Warray-bounds.C b/gcc/testsuite/g++.dg/warn/Warray-bounds.C index 12b5647..0385516 100644 --- a/gcc/testsuite/g++.dg/warn/Warray-bounds.C +++ b/gcc/testsuite/g++.dg/warn/Warray-bounds.C @@ -1,5 +1,4 @@ /* { dg-do compile } */ -/* { dg-xfail-if "PR 31500" { hppa*-*-* && { ! hppa*64*-*-* } } } */ /* { dg-options "-O2 -Warray-bounds" } */ int a[10]; @@ -88,5 +87,5 @@ int* f(void) { c.c[-1] = 0; return a; -} /* { dg-excess-errors "PR 31500" { xfail { hppa*-*-* && { ! hppa*64*-*-* } } } } */ +} diff --git a/gcc/testsuite/gcc.dg/Warray-bounds.c b/gcc/testsuite/gcc.dg/Warray-bounds.c index a73cb5f..fde4570 100644 --- a/gcc/testsuite/gcc.dg/Warray-bounds.c +++ b/gcc/testsuite/gcc.dg/Warray-bounds.c @@ -1,5 +1,4 @@ /* { dg-do compile } */ -/* { dg-xfail-if "PR 31500" { hppa*-*-* && { ! hppa*64*-*-* } } } */ /* { dg-options "-O2 -Warray-bounds" } */ int a[10]; @@ -91,5 +90,5 @@ int* f(void) { a[i] = 1; /* { dg-warning "array subscript" } */ return a; -} /* { dg-excess-errors "PR 31500" { xfail { hppa*-*-* && { ! hppa*64*-*-* } } } } */ +} |