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/] [20030213-1.c] - Rev 298
Compare with Previous | Blame | View Log
/* Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html */ /* { dg-do link { target fpic } } */ /* { dg-options "-O -fpic" } */ int *g; int main (void) { switch (*g) { case 0: { switch (*g) { case 0: *g = 1; break; case 1: case 2: *g = 1; break; case 3: case 4: *g = 1; break; } break; } case 1: { switch (*g) { case 0: *g = 1; break; case 1: case 2: *g = 1; break; case 3: case 4: *g = 1; break; } } } return 0; }