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/integrate.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/integrate.c')
-rw-r--r-- | gcc/integrate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index 0571756..b1fecc4 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -698,7 +698,7 @@ expand_inline_function (fndecl, parms, target, ignore, type, enum machine_mode mode; if (actual == 0) - return (rtx) (HOST_WIDE_INT) -1; + return (rtx) (size_t) -1; arg = TREE_VALUE (actual); mode = TYPE_MODE (DECL_ARG_TYPE (formal)); @@ -711,7 +711,7 @@ expand_inline_function (fndecl, parms, target, ignore, type, || (mode == BLKmode && (TYPE_MAIN_VARIANT (TREE_TYPE (arg)) != TYPE_MAIN_VARIANT (TREE_TYPE (formal))))) - return (rtx) (HOST_WIDE_INT) -1; + return (rtx) (size_t) -1; } /* Extra arguments are valid, but will be ignored below, so we must |