[RTL ifcvt] PR 67786, 67787: Check that intermediate instructions in the basic block...
[official-gcc.git] / gcc / testsuite / gcc.dg / pr45416.c
blob57950344886f69f7df04126250833d98f43eb915
1 /* { dg-do compile } */
2 /* { dg-skip-if "Skip for Thumb1." { { arm*-*-* } && { arm_thumb1_ok } } { "*" } { "" } } */
3 /* { dg-options "-O2" } */
5 int foo(long long a)
7 if (a & (long long) 0x400)
8 return 1;
9 return 0;
12 /* { dg-final { scan-assembler "andl|bextr" { target i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } } } " */
13 /* { dg-final { scan-assembler-not "setne" { target i?86-*-linux* i?86-*-gnu* x86_64-*-linux* } } }" */
14 /* { dg-final { scan-assembler "and|ubfx" { target arm*-*-* } } } */
15 /* { dg-final { scan-assembler-not "moveq" { target arm*-*-* } } }" */