URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr45830.c] - Rev 691
Compare with Previous | Blame | View Log
/* PR target/45830 */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-switchconv-all -mtune=generic" } */ int foo (int *a) { switch (*a) { case 0: case 3: case 1: case 2: case 4: case 23: case 26: case 19: case 5: case 21: case 20: case 22: case 27: return 1; default: return 0; } } /* { dg-final { scan-tree-dump "Expanding as bit test is preferable" "switchconv" } } */ /* { dg-final { scan-assembler-not "CSWTCH" } } */ /* { dg-final { cleanup-tree-dump "switchconv" } } */