Commit 302b8e2a by Rainer Orth Committed by Rainer Orth

Don't XFAIL gcc.dg/uninit-B.c etc. (PR middle-end/50125)

	PR middle-end/50125
	* gcc.dg/uninit-B.c (baz): Remove xfail *-*-*.
	* gcc.dg/uninit-pr19430.c (main): Remove xfail *-*-*.
	(bar3): Likewise.

From-SVN: r179649
parent 54616742
2011-10-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR middle-end/50125
* gcc.dg/uninit-B.c (baz): Remove xfail *-*-*.
* gcc.dg/uninit-pr19430.c (main): Remove xfail *-*-*.
(bar3): Likewise.
2011-10-07 Richard Guenther <rguenther@suse.de>
PR testsuite/50637
......
......@@ -9,7 +9,7 @@ void
baz (void)
{
int i;
if (i) /* { dg-warning "is used uninitialized" "uninit i warning" { xfail *-*-* } } */
if (i) /* { dg-warning "is used uninitialized" "uninit i warning" } */
bar (i);
foo (&i);
}
......@@ -29,7 +29,7 @@ void frob(int *pi);
int main(void)
{
int i;
printf("i = %d\n", i); /* { dg-warning "'i' is used uninitialized in this function" "" { xfail *-*-* } } */
printf("i = %d\n", i); /* { dg-warning "'i' is used uninitialized in this function" "" } */
frob(&i);
return 0;
......@@ -38,6 +38,6 @@ int main(void)
void foo3(int*);
void bar3(void) {
int x;
if(x) /* { dg-warning "'x' is used uninitialized in this function" "uninitialized" { xfail *-*-* } } */
if(x) /* { dg-warning "'x' is used uninitialized in this function" "uninitialized" } */
foo3(&x);
}
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