From 60731ce55e1f4c7458ec3a46e05f973164aaebc8 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 16 Nov 2003 13:55:19 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.md | 4 ++-- 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 + + * config/h8300/h8300.md: Fix warnings by replacing -2147483648 + with -2147483647 - 1. + 2003-11-16 Gerald Pfeifer 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 ;; -- 2.30.2