From: Richard Guenther Date: Sun, 3 Jan 2010 22:39:47 +0000 (+0000) Subject: Warray-bounds.c: Remove XFAILs. X-Git-Tag: releases/gcc-4.5.0~1425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e87f30e991fdbb47def4441a7e1359a79339f2c;p=thirdparty%2Fgcc.git Warray-bounds.c: Remove XFAILs. 2010-01-03 Richard Guenther * 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bbf96380f706..ac84c6028760 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-01-03 Richard Guenther + + * 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 PR tree-optimization/42589 diff --git a/gcc/testsuite/gcc.dg/Warray-bounds.c b/gcc/testsuite/gcc.dg/Warray-bounds.c index 44120392c73b..aa154a7e79d0 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 303afb72b36c..abf50a54fec6 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 b0f2083ab4b8..009e124fccf8 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);