diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-04-25 00:50:24 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2007-04-25 00:50:24 +0000 |
commit | cb80a210f7ce674107dd5f03c7fc5daf9c4ce817 (patch) | |
tree | c64ca5da6ad44f38c3100d53687d2e91d6cc02a8 | |
parent | bd016fe61fb47a05455bf5623e3c038cd8a8b7eb (diff) | |
download | gcc-cb80a210f7ce674107dd5f03c7fc5daf9c4ce817.zip gcc-cb80a210f7ce674107dd5f03c7fc5daf9c4ce817.tar.gz gcc-cb80a210f7ce674107dd5f03c7fc5daf9c4ce817.tar.bz2 |
Warray-bounds.c: XFAIL test on 32-bit hppa targets.
* gcc.dg/Warray-bounds.c: XFAIL test on 32-bit hppa targets.
* g++.dg/warn/Warray-bounds.C: Likewise.
From-SVN: r124136
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/warn/Warray-bounds.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/Warray-bounds.c | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cc0033e..aa19f36 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * gcc.dg/Warray-bounds.c: XFAIL test on 32-bit hppa targets. + * g++.dg/warn/Warray-bounds.C: Likewise. + 2007-04-24 Ian Lance Taylor <iant@google.com> PR tree-optimizatoin/31605 diff --git a/gcc/testsuite/g++.dg/warn/Warray-bounds.C b/gcc/testsuite/g++.dg/warn/Warray-bounds.C index 4f7a397..12b5647 100644 --- a/gcc/testsuite/g++.dg/warn/Warray-bounds.C +++ b/gcc/testsuite/g++.dg/warn/Warray-bounds.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-skip-if "PR 31500" { hppa*-*-* } { "*" } { "" } } */ +/* { dg-xfail-if "PR 31500" { hppa*-*-* && { ! hppa*64*-*-* } } } */ /* { dg-options "-O2 -Warray-bounds" } */ int a[10]; @@ -88,5 +88,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 31f6c6e..a73cb5f 100644 --- a/gcc/testsuite/gcc.dg/Warray-bounds.c +++ b/gcc/testsuite/gcc.dg/Warray-bounds.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-skip-if "PR 31500" { hppa*-*-* } { "*" } { "" } } */ +/* { dg-xfail-if "PR 31500" { hppa*-*-* && { ! hppa*64*-*-* } } } */ /* { dg-options "-O2 -Warray-bounds" } */ int a[10]; @@ -91,5 +91,5 @@ int* f(void) { a[i] = 1; /* { dg-warning "array subscript" } */ return a; -} +} /* { dg-excess-errors "PR 31500" { xfail { hppa*-*-* && { ! hppa*64*-*-* } } } } */ |