Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / mips / truncate-3.c
blob988e46eb78d70c3ba389c0228d61e3091381365a
1 /* Remove redundant operations in truncate's operand. */
2 /* { dg-options "-mgp64" } */
3 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 /* { dg-final { scan-assembler-not "\tandi?\t" } } */
6 extern void g (int);
8 int
9 f (long long d)
11 long long c = d & 0xffffffffff;
12 int i = (int) c;
13 g (i);