aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/cris/pr93372-27.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/cris/pr93372-27.c')
-rw-r--r--gcc/testsuite/gcc.target/cris/pr93372-27.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/cris/pr93372-27.c b/gcc/testsuite/gcc.target/cris/pr93372-27.c
new file mode 100644
index 0000000..38bfd94
--- /dev/null
+++ b/gcc/testsuite/gcc.target/cris/pr93372-27.c
@@ -0,0 +1,8 @@
+/* Check that eliminable compare-instructions are eliminated. */
+/* { dg-do compile } */
+/* { dg-options "-O2" } */
+/* { dg-final { scan-assembler-not "\tcmp|\ttest" } } */
+
+#define op |
+#define t signed char
+#include "pr93372-16.c"