aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rw-r--r--cse.c4
-rw-r--r--validation/optim/cse-fcmp.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/cse.c b/cse.c
index d5da26fb..6987645c 100644
--- a/cse.c
+++ b/cse.c
@@ -71,7 +71,8 @@ static void clean_up_one_instruction(struct basic_block *bb, struct instruction
case OP_SET_B: case OP_SET_A:
case OP_SET_BE: case OP_SET_AE:
- /* floating-point arithmetic */
+ /* floating-point arithmetic & comparison */
+ case OP_FPCMP ... OP_FPCMP_END:
case OP_FADD:
case OP_FSUB:
case OP_FMUL:
@@ -214,6 +215,7 @@ static int insn_compare(const void *_i1, const void *_i2)
case OP_SET_BE: case OP_SET_AE:
/* floating-point arithmetic */
+ case OP_FPCMP ... OP_FPCMP_END:
case OP_FADD:
case OP_FSUB:
case OP_FMUL:
diff --git a/validation/optim/cse-fcmp.c b/validation/optim/cse-fcmp.c
index 9e687230..f2a73f57 100644
--- a/validation/optim/cse-fcmp.c
+++ b/validation/optim/cse-fcmp.c
@@ -13,7 +13,6 @@ int foo(double a, double b)
/*
* check-name: cse-fcmp
* check-command: test-linearize -Wno-decl $file
- * check-known-to-fail
*
* check-output-ignore
* check-output-pattern(1): fcmp