diff options
author | Richard Guenther <rguenther@suse.de> | 2010-01-03 22:39:47 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-01-03 22:39:47 +0000 |
commit | 5e87f30e991fdbb47def4441a7e1359a79339f2c (patch) | |
tree | 47c23e793e56d10f0a28cb2309e747d6183afd74 | |
parent | 5ab06c6dfee6999f0ebd2d77f53766de18e5dc5f (diff) | |
download | gcc-5e87f30e991fdbb47def4441a7e1359a79339f2c.zip gcc-5e87f30e991fdbb47def4441a7e1359a79339f2c.tar.gz gcc-5e87f30e991fdbb47def4441a7e1359a79339f2c.tar.bz2 |
Warray-bounds.c: Remove XFAILs.
2010-01-03 Richard Guenther <rguenther@suse.de>
* gcc.dg/Warray-bounds.c: Remove XFAILs.
* gcc.dg/uninit-6.c: Likewise.
* gcc.dg/struct/wo_prof_array_through_pointer.c: Likewise.
From-SVN: r155595
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/Warray-bounds.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/struct/wo_prof_array_through_pointer.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/uninit-6.c | 2 |
4 files changed, 10 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bbf9638..ac84c60 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2010-01-03 Richard Guenther <rguenther@suse.de> + * gcc.dg/Warray-bounds.c: Remove XFAILs. + * gcc.dg/uninit-6.c: Likewise. + * gcc.dg/struct/wo_prof_array_through_pointer.c: Likewise. + +2010-01-03 Richard Guenther <rguenther@suse.de> + PR tree-optimization/42589 * gcc.target/i386/pr42589.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/Warray-bounds.c b/gcc/testsuite/gcc.dg/Warray-bounds.c index 4412039..aa154a7 100644 --- a/gcc/testsuite/gcc.dg/Warray-bounds.c +++ b/gcc/testsuite/gcc.dg/Warray-bounds.c @@ -56,13 +56,13 @@ int* f(void) { g(&a[8]); g(&a[9]); g(&a[10]); - g(&a[11]); /* { dg-warning "array subscript" "" { xfail *-*-* } } */ + g(&a[11]); /* { dg-warning "array subscript" } */ g(&a[-30]+10); /* { dg-warning "array subscript" } */ g(&a[-30]+30); g(&b[10]); g(&c.c[10]); - g(&b[11]); /* { dg-warning "array subscript" "" { xfail *-*-* } } */ + g(&b[11]); /* { dg-warning "array subscript" } */ g(&c.c[11]); /* { dg-warning "array subscript" } */ g(&a[0]); diff --git a/gcc/testsuite/gcc.dg/struct/wo_prof_array_through_pointer.c b/gcc/testsuite/gcc.dg/struct/wo_prof_array_through_pointer.c index 303afb7..abf50a5 100644 --- a/gcc/testsuite/gcc.dg/struct/wo_prof_array_through_pointer.c +++ b/gcc/testsuite/gcc.dg/struct/wo_prof_array_through_pointer.c @@ -35,7 +35,5 @@ main () return 0; } -/*--------------------------------------------------------------------------*/ -/* Currently str_t escapes due to incorrect ipa-type-escape analysis. */ -/* { dg-final { scan-ipa-dump "Number of structures to transform is 1" "ipa_struct_reorg" { xfail *-*-* } } } */ +/* { dg-final { scan-ipa-dump "Number of structures to transform is 1" "ipa_struct_reorg" } } */ /* { dg-final { cleanup-ipa-dump "*" } } */ diff --git a/gcc/testsuite/gcc.dg/uninit-6.c b/gcc/testsuite/gcc.dg/uninit-6.c index b0f2083..009e124 100644 --- a/gcc/testsuite/gcc.dg/uninit-6.c +++ b/gcc/testsuite/gcc.dg/uninit-6.c @@ -39,7 +39,7 @@ make_something(int a, int b, int c) rv = malloc (sizeof (struct tree)); rv->car = 0; - APPEND(rv, field, INTEGER_T, a); /* { dg-bogus "field" "uninitialized variable warning" { xfail *-*-* } } */ + APPEND(rv, field, INTEGER_T, a); /* { dg-bogus "field" "uninitialized variable warning" } */ APPEND(rv, field, PTR_T, b); APPEND(rv, field, INTEGER_T, c); |