mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 07:40:28 +08:00
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
This commit is contained in:
parent
54616742d8
commit
302b8e2a16
@ -1,3 +1,10 @@
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user