summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-16 13:55:19 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-16 13:55:19 +0000
commit0972fba840572772f1f46999529d6b646bebec85 (patch)
tree972614692380aced73b85999206379944819aba8 /gcc
parentd02b1ce3cc2e1a2db640b0d7bb8ebfa9e17a26f5 (diff)
downloadgcc-0972fba840572772f1f46999529d6b646bebec85.tar.gz
* config/h8300/h8300.md: Fix warnings by replacing -2147483648
with -2147483647 - 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73647 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 90ec0705983..2b9d116441a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-16 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md: Fix warnings by replacing -2147483648
+ with -2147483647 - 1.
+
2003-11-16 Gerald Pfeifer <gerald@pfeifer.com>
Fix links in online manuals.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 0daa45c2f11..478c9175902 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -4262,7 +4262,7 @@
(pc)))]
"(TARGET_H8300H || TARGET_H8300S)
&& peep2_reg_dead_p (1, operands[0])
- && (INTVAL (operands[1]) == -2147483648
+ && (INTVAL (operands[1]) == -2147483647 - 1
|| (TARGET_H8300S && INTVAL (operands[1]) == 1073741824))"
[(set (match_dup 0)
(rotate:SI (match_dup 0)
@@ -4277,7 +4277,7 @@
(if_then_else (match_op_dup 3 [(cc0) (const_int 0)])
(label_ref (match_dup 2))
(pc)))]
- "operands[4] = GEN_INT (INTVAL (operands[1]) == -2147483648 ? 1 : 2);")
+ "operands[4] = GEN_INT (INTVAL (operands[1]) == -2147483647 - 1 ? 1 : 2);")
;; Transform
;;