Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / arm / thumb1-mul-moves.c
blob6235774fe246e27bd46d129106b98c5a5a762844
1 /* Check for unnecessary register moves. */
2 /* { dg-options "-mthumb -Os" } */
3 /* { dg-require-effective-target arm_thumb1_ok } */
5 int f(int x)
7 return x*42;
10 /* { dg-final { scan-assembler-not "mov\[\\t \]*r0," } } */