From: DJ Delorie Date: Thu, 14 Nov 2013 18:10:36 +0000 (-0500) Subject: rx.c (rx_mode_dependent_address_p): Allow offsets up to 16 bits. X-Git-Tag: releases/gcc-4.9.0~2801 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb1c879cfdbbac4ea72279f39e550d178cf74f9b;p=thirdparty%2Fgcc.git rx.c (rx_mode_dependent_address_p): Allow offsets up to 16 bits. * config/rx/rx.c (rx_mode_dependent_address_p): Allow offsets up to 16 bits. From-SVN: r204795 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76215c106227..9530961ff212 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-14 DJ Delorie + + * config/rx/rx.c (rx_mode_dependent_address_p): Allow offsets up + to 16 bits. + 2013-11-14 Jeff Law * tree-ssa-threadedge.c (thread_through_normal_block): Only push diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 756cd061614e..89860927a82c 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -344,9 +344,9 @@ rx_mode_dependent_address_p (const_rtx addr, addr_space_t as ATTRIBUTE_UNUSED) case CONST_INT: /* REG+INT is only mode independent if INT is a - multiple of 4, positive and will fit into 8-bits. */ + multiple of 4, positive and will fit into 16-bits. */ if (((INTVAL (addr) & 3) == 0) - && IN_RANGE (INTVAL (addr), 4, 252)) + && IN_RANGE (INTVAL (addr), 4, 0xfffc)) return false; return true;