(expand_movstr_call): Likewise for memcpy.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 19 Dec 1995 02:09:53 +0000 (18:09 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 19 Dec 1995 02:09:53 +0000 (18:09 -0800)
From-SVN: r10810

gcc/config/convex/convex.c

index 05e3ef1b572a5b07ea1ef56d5fb72580fc24934e..f642fb07c86e7b2439b6ba78d0a6fc873b918026 100644 (file)
@@ -403,7 +403,9 @@ expand_movstr_call (operands)
                     VOIDmode, 3,
                     XEXP (operands[0], 0), Pmode,
                     XEXP (operands[1], 0), Pmode,
-                    operands[2], SImode);
+                    convert_to_mode (TYPE_MODE (sizetype), operands[2],
+                                     TREE_UNSIGNED (sizetype)),
+                    TYPE_MODE (sizetype));
 }
 \f
 #if _IEEE_FLOAT_