From 2ff0cbe5fe8b0a9e156befa67f4affa70d2b86d2 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 29 Apr 2016 14:00:48 +0200 Subject: [PATCH] predicates.md (constm1_operand): Fix comparison. * config/i386/predicates.md (constm1_operand): Fix comparison. From-SVN: r235635 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/predicates.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3fde07a4bd1..219d42374f43 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-04-29 Uros Bizjak + + * config/i386/predicates.md (constm1_operand): Fix comparison. + 2016-04-29 Claudiu Zissulescu * testsuite/gcc.target/arc/ieee_eq.c: New test. diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index 1980a620c870..d15dae457941 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -678,7 +678,7 @@ ;; Match exactly -1. (define_predicate "constm1_operand" (and (match_code "const_int") - (match_test "op = constm1_rtx"))) + (match_test "op == constm1_rtx"))) ;; Match exactly eight. (define_predicate "const8_operand" -- 2.47.2