(expand_call): In convert_to_mode call, use word_mode
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 26 Mar 1996 18:50:03 +0000 (10:50 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 26 Mar 1996 18:50:03 +0000 (10:50 -0800)
not SImode.

From-SVN: r11623

gcc/calls.c

index 9a6b7fb..0c73490 100644 (file)
@@ -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