diff options
author | Graham Stott <grahams@redhat.com> | 2002-01-16 09:24:00 +0000 |
---|---|---|
committer | Graham Stott <grahams@gcc.gnu.org> | 2002-01-16 09:24:00 +0000 |
commit | 60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4 (patch) | |
tree | 062eb3cbbdeafb4362c9901f3c838edaf78c63b9 /gcc/regmove.c | |
parent | 7b25b076d2982bb836a35a985bcb47aec7ac17bc (diff) | |
download | gcc-60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4.zip gcc-60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4.tar.gz gcc-60e8b9f0d18271ca2cb46f1b732ba4328eacf6b4.tar.bz2 |
calls.c (try_to_integrate): Use "(size_t)" intermediate cast and when casting an integer literal to "rtx"...
* 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.
From-SVN: r48906
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 f184deb..9530128 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 |