blob: 5d3de6387777743883a3baf66b878a8a0c3f1783 [file] [log] [blame]
/* { dg-do compile {target { arm_thumb2 || arm_thumb1_cbz_ok } } } */
/* { dg-options "-O2" } */
int
foo (int a, int *b)
{
if (a)
*b = 1;
return 0;
}
/* { dg-final { scan-assembler-times "cbz\\tr\\d" 1 } } */