URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20030213-1.c] - Rev 149
Go to most recent revision | 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" } */ /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */ 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; }
Go to most recent revision | Compare with Previous | Blame | View Log