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
This commit is contained in:
parent
bd016fe61f
commit
cb80a210f7
3 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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*-*-* } } } } */
|
||||
|
||||
|
|
|
@ -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*-*-* } } } } */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue