summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-03-26 10:50:03 -0800
committerJim Wilson <wilson@gcc.gnu.org>1996-03-26 10:50:03 -0800
commit144a315026642a1fd2c3973d78a5ed3e52beaafd (patch)
treef94be7ab467f81a99e0560e6579fdefea15e9392 /gcc/calls.c
parent9c7be814e66b0964a80c6b6c850083489c9aa219 (diff)
downloadgcc-144a315026642a1fd2c3973d78a5ed3e52beaafd.tar.gz
(expand_call): In convert_to_mode call, use word_mode
not SImode. From-SVN: r11623
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 9a6b7fb75f9..0c73490c227 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -2061,7 +2061,7 @@ expand_call (exp, target, ignore)
copy it into a new pseudo which is a full word. */
if (GET_MODE (valreg) != BLKmode
&& GET_MODE_SIZE (GET_MODE (valreg)) < UNITS_PER_WORD)
- valreg = convert_to_mode (SImode, valreg,
+ valreg = convert_to_mode (word_mode, valreg,
TREE_UNSIGNED (TREE_TYPE (exp)));
/* Structures whose size is not a multiple of a word are aligned