aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/mincmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/mincmp.c')
-rw-r--r--gcc/testsuite/gcc.target/arm/mincmp.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/gcc.target/arm/mincmp.c b/gcc/testsuite/gcc.target/arm/mincmp.c
deleted file mode 100644
index ade3bd9e149..00000000000
--- a/gcc/testsuite/gcc.target/arm/mincmp.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O2" } */
-/* { dg-require-effective-target arm32 } */
-
-#define min(x, y) ((x) <= (y)) ? (x) : (y)
-
-unsigned int
-foo (unsigned int i, unsigned int x, unsigned int y)
-{
- return i < (min (x, y));
-}
-
-int
-bar (int i, int x, int y)
-{
- return i < (min (x, y));
-}
-
-/* { dg-final { scan-assembler "cmpcs" } } */
-/* { dg-final { scan-assembler "cmpge" } } */