From: danglin Date: Wed, 25 Apr 2007 00:50:24 +0000 (+0000) Subject: * gcc.dg/Warray-bounds.c: XFAIL test on 32-bit hppa targets. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=ce6150a5a8a4c3ada21b22a31564ffa54d108eaf;hp=e779910610ca4807f815f062001d7fb9dd2d1346 * gcc.dg/Warray-bounds.c: XFAIL test on 32-bit hppa targets. * g++.dg/warn/Warray-bounds.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124136 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cc0033e62b8..aa19f36f36f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-04-24 John David Anglin + + * 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 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 4f7a397fcb8..12b564730d1 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 31f6c6e7d3a..a73cb5f796e 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*-*-* } } } } */