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/integrate.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/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 05717564181..b1fecc4788d 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 |