diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-18 12:57:42 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-18 12:57:42 +0000 |
commit | f81a7324f20a52fb75a979968d079ac7afaa6628 (patch) | |
tree | 4e019609f1ca0e38f5e561136b29b8107a45e95b /gcc/testsuite/gcc.dg/Warray-bounds.c | |
parent | 87155f0c20fc918ad053ef6ca73b203dc3653e95 (diff) | |
download | gcc-f81a7324f20a52fb75a979968d079ac7afaa6628.tar.gz |
2008-01-18 Richard Guenther <rguenther@suse.de>
PR middle-end/34801
* gcc.dg/Warray-bounds.c: XFAIL two tests, remove one
redundant one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131628 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/Warray-bounds.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/Warray-bounds.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/Warray-bounds.c b/gcc/testsuite/gcc.dg/Warray-bounds.c index fde457036cb..bbb5bea65e1 100644 --- a/gcc/testsuite/gcc.dg/Warray-bounds.c +++ b/gcc/testsuite/gcc.dg/Warray-bounds.c @@ -56,14 +56,13 @@ int* f(void) { g(&a[8]); g(&a[9]); g(&a[10]); - g(&a[11]); /* { dg-warning "array subscript" } */ + g(&a[11]); /* { dg-warning "array subscript" "" { xfail *-*-* } } */ g(&a[-30]+10); /* { dg-warning "array subscript" } */ g(&a[-30]+30); g(&b[10]); g(&c.c[10]); - g(&a[11]); /* { dg-warning "array subscript" } */ - g(&b[11]); /* { dg-warning "array subscript" } */ + g(&b[11]); /* { dg-warning "array subscript" "" { xfail *-*-* } } */ g(&c.c[11]); /* { dg-warning "array subscript" } */ g(&a[0]); |