aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2016-04-29 14:00:48 +0200
committerUros Bizjak <uros@gcc.gnu.org>2016-04-29 14:00:48 +0200
commit2ff0cbe5fe8b0a9e156befa67f4affa70d2b86d2 (patch)
treee4d92887e2c3ce2cff14a2884831b3d3a0a38a62 /gcc
parent39d504645250d0d367247807e23edf5f74252b6e (diff)
downloadgcc-2ff0cbe5fe8b0a9e156befa67f4affa70d2b86d2.zip
gcc-2ff0cbe5fe8b0a9e156befa67f4affa70d2b86d2.tar.gz
gcc-2ff0cbe5fe8b0a9e156befa67f4affa70d2b86d2.tar.bz2
predicates.md (constm1_operand): Fix comparison.
* config/i386/predicates.md (constm1_operand): Fix comparison. From-SVN: r235635
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/predicates.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d3fde07..219d423 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-04-29 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/predicates.md (constm1_operand): Fix comparison.
+
2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
* testsuite/gcc.target/arc/ieee_eq.c: New test.
diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md
index 1980a62..d15dae4 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"