1 /* pr36133.c 2 3 This test ensures that conditional branches can use the condition codes 4 written by shift instructions, without the need for an extra TST. */ 5 6 /* { dg-do compile } */ 7 /* { dg-options "-O2" } */ 8 /* { dg-final { scan-assembler-not "tst" } } */ 9 10 void f(unsigned int a)11f (unsigned int a) 12 { 13 if (a >> 4) 14 asm volatile ("nop"); 15 asm volatile ("nop"); 16 } 17