URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr46875.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */ /* { dg-options "-Os -fselective-scheduling2" } */ long foo (int x, long *y) { long a = 0; switch (x) { case 0: a = *y; break; case 1: a = *y; break; case 2: a = *y; break; case 3: a = *y; break; case 4: a = *y; break; } return a; }