summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/compact-branches-4.c
blob: fd99ad64f6da483209277d161e27ee6cb670f7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-options "-mcompact-branches=optimal isa_rev>=6" } */
int glob;

void
foo (int a, int b, volatile int * bar)
{
  if (a < b)
    glob = *bar;
}

/* { dg-final { scan-assembler "\tb\[^ \t\]*c" } } */