URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [Wunreachable-5.c] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR c/10175 */ /* { dg-do compile } */ /* { dg-options "-Wunreachable-code" } */ int value; int main(void) { if (0) value = 0; /* { dg-warning "will never be executed" "" } */ else value = 1; return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log