Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / sh / pr51244-16.c
blob5132f7433f32136be3ffc3c9e234c505eebdba79
1 /* Check that the redundant test removal code in the *cbranch_t split works
2 as expected on SH2A targets. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2" } */
5 /* { dg-skip-if "" { "sh*-*-*" } { "*" } { "-m2a*" } } */
6 /* { dg-final { scan-assembler-times "tst" 6 } } */
7 /* { dg-final { scan-assembler-times "movt" 3 } } */
8 /* { dg-final { scan-assembler-times "movrt" 3 } } */
9 /* { dg-final { scan-assembler-not "extu|exts|negc" } } */
11 #include "pr51244-15.c"