Commit d33ebef6 by Jan Hubicka Committed by Jan Hubicka

builtins.c (expand_builtin_memset): Expand for variable sized lengths too.

	* builtins.c (expand_builtin_memset): Expand for variable sized
	lengths too.

From-SVN: r31738
parent 2cf072fc
Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
* builtins.c (expand_builtin_memset): Expand for variable sized
lengths too.
2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
* config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
......
......@@ -1514,11 +1514,7 @@ expand_builtin_memset (exp)
if (expand_expr (val, NULL_RTX, VOIDmode, 0) != const0_rtx)
return 0;
/* If LEN does not expand to a constant, don't do this
operation in-line. */
len_rtx = expand_expr (len, NULL_RTX, VOIDmode, 0);
if (GET_CODE (len_rtx) != CONST_INT)
return 0;
dest_mem = get_memory_rtx (dest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment