Commit 5e87f30e by Richard Guenther Committed by Richard Biener

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
parent 5ab06c6d
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.
......
......@@ -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]);
......
......@@ -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 "*" } } */
......@@ -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);
......
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