diff options
author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-16 09:24:00 +0000 |
---|---|---|
committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-16 09:24:00 +0000 |
commit | be051fd57cc4738de62fa8e1776ac9ff41c7cddd (patch) | |
tree | 062eb3cbbdeafb4362c9901f3c838edaf78c63b9 /gcc/regmove.c | |
parent | 265a975984fa071031874e8aa6b3662a757eac00 (diff) | |
download | gcc-be051fd57cc4738de62fa8e1776ac9ff41c7cddd.tar.gz |
* calls.c (try_to_integrate): Use "(size_t)" intermediate
cast and when casting an integer literal to "rtx" pointer.
(expand_call): Likewise.
* flow.c (try_pre_increment): Likewise.
(find_use_as_address): Likewise.
* integrate.c (expand_iline_function): Likewise.
* regmove.c (try_auto_increment): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48906 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regmove.c')
-rw-r--r-- | gcc/regmove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/regmove.c b/gcc/regmove.c index f184deb769c..9530128721a 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -111,7 +111,7 @@ try_auto_increment (insn, inc_insn, inc_insn_set, reg, increment, pre) /* Can't use the size of SET_SRC, we might have something like (sign_extend:SI (mem:QI ... */ rtx use = find_use_as_address (pset, reg, 0); - if (use != 0 && use != (rtx) 1) + if (use != 0 && use != (rtx) (size_t) 1) { int size = GET_MODE_SIZE (GET_MODE (use)); if (0 |