URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [uninit-pr20644.c] - Rev 329
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR 20644 */ /* { dg-do compile } */ /* { dg-options "-O -Wuninitialized" } */ int foo () { int i = 0; int j; if (1 == i) return j; return 0; } int bar () { int i = 1; int j; if (1 == i) return j; /* { dg-warning "uninitialized" "uninitialized" { target *-*-* } 18 } */ return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log