diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2018-01-12 12:10:56 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2018-01-12 12:10:56 +0000 |
commit | ec952125a593923386d180a02bf52c08abc1fbe7 (patch) | |
tree | 1bae63a586cc3f1c86812817e40acf25eff57523 /gcc/config/rx | |
parent | eda03189e702409661b8d84269af2cf5a865071e (diff) | |
download | gcc-ec952125a593923386d180a02bf52c08abc1fbe7.zip gcc-ec952125a593923386d180a02bf52c08abc1fbe7.tar.gz gcc-ec952125a593923386d180a02bf52c08abc1fbe7.tar.bz2 |
re PR target/81819 ([RX] internal compiler error: in rx_is_restricted_memory_address, at config/rx/rx.c:311)
gcc/
PR target/81819
* config/rx/rx.c (rx_is_restricted_memory_address):
Handle SUBREG case.
From-SVN: r256578
Diffstat (limited to 'gcc/config/rx')
-rw-r--r-- | gcc/config/rx/rx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index e3e89ec..be82298 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -288,6 +288,9 @@ rx_is_restricted_memory_address (rtx mem, machine_mode mode) /* Simple memory addresses are OK. */ return true; + case SUBREG: + return RX_REG_P (SUBREG_REG (mem)); + case PRE_DEC: case POST_INC: return false; |