diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-11-16 13:55:19 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-11-16 13:55:19 +0000 |
commit | 60731ce55e1f4c7458ec3a46e05f973164aaebc8 (patch) | |
tree | 972614692380aced73b85999206379944819aba8 /gcc | |
parent | 24726b96634705231c20e44cb15a15ec6ceb314a (diff) | |
download | gcc-60731ce55e1f4c7458ec3a46e05f973164aaebc8.zip gcc-60731ce55e1f4c7458ec3a46e05f973164aaebc8.tar.gz gcc-60731ce55e1f4c7458ec3a46e05f973164aaebc8.tar.bz2 |
h8300.md: Fix warnings by replacing -2147483648 with -2147483647 - 1.
* config/h8300/h8300.md: Fix warnings by replacing -2147483648
with -2147483647 - 1.
From-SVN: r73647
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90ec070..2b9d116 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 0daa45c..478c917 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 ;; |