diff gcc/builtins.c @ 19:58ad6c70ea60

update gcc from 4.4.0 to 4.4.1.
author kent@firefly.cr.ie.u-ryukyu.ac.jp
date Thu, 24 Sep 2009 13:21:57 +0900
parents a06113de4d67
children 855418dad1a3
line wrap: on
line diff
--- a/gcc/builtins.c	Thu Sep 24 13:06:16 2009 +0900
+++ b/gcc/builtins.c	Thu Sep 24 13:21:57 2009 +0900
@@ -4176,7 +4176,7 @@
 
     arg1_rtx = get_memory_rtx (arg1, len);
     arg2_rtx = get_memory_rtx (arg2, len);
-    arg3_rtx = expand_normal (len);
+    arg3_rtx = expand_normal (fold_convert (sizetype, len));
 
     /* Set MEM_SIZE as appropriate.  */
     if (GET_CODE (arg3_rtx) == CONST_INT)