gcc/testsuite/gcc.target/mips/compact-branches-3.c
raw| 1 | /* { dg-options "-mcompact-branches=never isa_rev>=6" } */ |
| 2 | int glob; |
| 3 | |
| 4 | void |
| 5 | foo (int a, int b, volatile int * bar) |
| 6 | { |
| 7 | if (a < b) |
| 8 | glob = *bar; |
| 9 | } |
| 10 | |
| 11 | /* { dg-final { scan-assembler "\tnop" } } */ |
| 12 | /* { dg-final { scan-assembler-not "\tb\[^ \t\]*c" } } */ |
| 13 | /* { dg-final { scan-assembler-not "\tj\[^ \t\]*c" } } */ |