diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/uninit-pr20644-O0.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/uninit-pr20644-O0.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/uninit-pr20644-O0.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/uninit-pr20644-O0.c deleted file mode 100644 index 092d41164..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/uninit-pr20644-O0.c +++ /dev/null @@ -1,24 +0,0 @@ -/* PR 20644 */ -/* { dg-do compile } */ -/* { dg-options "-O0 -Wuninitialized" } */ -int foo () -{ - int i = 0; - int j; - - if (1 == i) - return j; /* { dg-bogus "uninitialized" "uninitialized" { xfail *-*-* } 10 } */ - - return 0; -} - -int bar () -{ - int i = 1; - int j; - - if (1 == i) - return j; /* { dg-warning "uninitialized" "uninitialized" { target *-*-* } 21 } */ - - return 0; -} |