aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/frv
diff options
context:
space:
mode:
authorOleg Endo <olegendo@gcc.gnu.org>2015-01-05 22:04:53 +0000
committerOleg Endo <olegendo@gcc.gnu.org>2015-01-05 22:04:53 +0000
commitc9bd6bcd5d3b6250f86f48b2bb475e41a420c512 (patch)
tree8e3fd9b95272e38722b8ccc0c1966d15de16b449 /gcc/config/frv
parentfca4adf2095dfcd453ab32250984d85ff66bbd32 (diff)
downloadgcc-c9bd6bcd5d3b6250f86f48b2bb475e41a420c512.zip
gcc-c9bd6bcd5d3b6250f86f48b2bb475e41a420c512.tar.gz
gcc-c9bd6bcd5d3b6250f86f48b2bb475e41a420c512.tar.bz2
rtlanal.c (refers_to_regno_p): Change return value from int to bool.
gcc/ * rtlanal.c (refers_to_regno_p): Change return value from int to bool. * rtl.h (refers_to_regno_p): Add overload. * cse.c: Use it. * bt-load.c: Likewise. * combine.c: Likewise. * df-scan.c: Likewise. * sched-deps.c: Likewise. * config/s390/s390.c: Likewise. * config/m32r/m32r.c: Likewise. * config/rs6000/spe.md: Likewise. * config/rs6000/rs6000.c: Likewise. * config/pa/pa.c: Likewise. * config/stormy16/stormy16.c: Likewise. * config/cris/cris.c: Likewise. * config/arc/arc.md: Likewise. * config/arc/arc.c: Likewise. * config/sh/sh.md: Likewise. * config/sh/sh.c: Likewise. * config/frv/frv.c: Likewise. From-SVN: r219203
Diffstat (limited to 'gcc/config/frv')
-rw-r--r--gcc/config/frv/frv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c
index e910377..0d4a9b4 100644
--- a/gcc/config/frv/frv.c
+++ b/gcc/config/frv/frv.c
@@ -5035,7 +5035,7 @@ frv_split_double_load (rtx dest, rtx source)
of the registers could affect the value of ADDRESS, so we must
be careful which order we do them in. */
if (GET_CODE (address) == PRE_MODIFY
- || ! refers_to_regno_p (regno, regno + 1, address, NULL))
+ || ! refers_to_regno_p (regno, address))
{
/* It is safe to load the lower-numbered register first. */
emit_move_insn (dest1, change_address (source, SImode, NULL));