Message ID | 1515684556.12491.20.camel@t-online.de |
---|---|
State | New |
Headers | show |
Series | [RX] Fix PR 81819 | expand |
Hi Oleg, > gcc/ChangeLog: > PR target/81819 > * config/rx/rx.c (rx_is_restricted_memory_address): > Handle SUBREG case. Go ahead make my day^H^H^H^H^H^H Approved - please apply. Cheers Nick
On Thu, 2018-01-11 at 17:32 +0000, Nick Clifton wrote: > > > gcc/ChangeLog: > > PR target/81819 > > * config/rx/rx.c (rx_is_restricted_memory_address): > > Handle SUBREG case. > Go ahead make my day^H^H^H^H^H^H > > Approved - please apply. Committed as r256578 (trunk) and r256579 (GCC 7 branch). Cheers, Oleg
Index: gcc/config/rx/rx.c =================================================================== --- gcc/config/rx/rx.c (revision 256385) +++ gcc/config/rx/rx.c (working copy) @@ -284,6 +284,9 @@ /* Simple memory addresses are OK. */ return true; + case SUBREG: + return RX_REG_P (SUBREG_REG (mem)); + case PRE_DEC: case POST_INC: return false;