[gcc]
[official-gcc.git] / gcc / testsuite / gcc.target / sh / pr49263-4.c
blobcbba68b88f0203078442527b2bc0fe12d6221a9a
1 /* Verify that TST #imm, R0 instruction is generated if the constant
2 allows it when compiling for -Os. */
3 /* { dg-do compile } */
4 /* { dg-options "-Os" } */
5 /* { dg-final { scan-assembler-not "and" } } */
6 /* { dg-final { scan-assembler-not "extu" } } */
7 /* { dg-final { scan-assembler-not "exts" } } */
8 /* { dg-final { scan-assembler-not "shlr" } } */
10 #include "pr49263.c"