Commit cb80a210 by John David Anglin Committed by John David Anglin

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
parent bd016fe6
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
/* { 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*-*-* } } } } */
/* { 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*-*-* } } } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment