From: Richard Earnshaw Date: Tue, 25 Jan 2005 12:50:34 +0000 (+0000) Subject: re PR target/19393 (Assembler error: branch out of range) X-Git-Tag: releases/gcc-3.4.4~272 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9a8b4436360d251d47a4ec533802283cd9dc8f2;p=thirdparty%2Fgcc.git re PR target/19393 (Assembler error: branch out of range) PR target/19393 Backport: 2004-03-30 Nick Clifton * config/arm/arm.md (thumb_jump): Reduce the backward branch range, and increase the forward branch range, to allow for the fact that the PC will be off by 4. From-SVN: r94219 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aca1bd934189..18f766416c6e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2005-01-25 Richard Earnshaw + + PR target/19393 + Backport: + 2004-03-30 Nick Clifton + * config/arm/arm.md (thumb_jump): Reduce the backward branch + range, and increase the forward branch range, to allow for + the fact that the PC will be off by 4. + 2005-01-24 Richard Henderson Aldy Hernandez diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 8214b5175094..57926ba6b9bc 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -7130,8 +7130,8 @@ (const_string "no"))) (set (attr "length") (if_then_else - (and (ge (minus (match_dup 0) (pc)) (const_int -2048)) - (le (minus (match_dup 0) (pc)) (const_int 2044))) + (and (ge (minus (match_dup 0) (pc)) (const_int -2044)) + (le (minus (match_dup 0) (pc)) (const_int 2048))) (const_int 2) (const_int 4)))] )