From a428e1d46d44cdfcc3ec364d5bd9523a42fbf82c Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 11 Jul 2008 18:51:25 -0400 Subject: [PATCH] * config/h8300/h8300.md (length): Fix branch offset limit. From-SVN: r137728 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 398a165171c..1faa2a1c5cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-07-11 DJ Delorie + + * config/h8300/h8300.md (length): Fix branch offset limit. + 2008-07-11 Anatoly Sokolov * config/avr/avr-protos.h (avr_peep2_scratch_safe): Remove prototype. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index 9b6c0aa4e16..b48a9d6ef75 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -91,7 +91,7 @@ (const_int -126)) (le (plus (minus (match_dup 0) (pc)) (symbol_ref "DELAY_SLOT_LENGTH (insn)")) - (const_int 126))) + (const_int 125))) (const_int 2) (if_then_else (and (eq_attr "cpu" "h8300h") (and (ge (minus (pc) (match_dup 0)) -- 2.30.2