mirror of git://gcc.gnu.org/git/gcc.git
builtins.c (expand_builtin_memcpy): Use mode of dest_addr for intermediate computation.
* builtins.c (expand_builtin_memcpy): Use mode of dest_addr for intermediate computation. From-SVN: r67154
This commit is contained in:
parent
fcb6fa8571
commit
9589325f62
|
|
@ -1,3 +1,8 @@
|
|||
2003-05-24 Matt Kraai <kraai@alumni.cmu.edu>
|
||||
|
||||
* builtins.c (expand_builtin_memcpy): Use mode of dest_addr for
|
||||
intermediate computation.
|
||||
|
||||
2003-05-23 Eric Christopher <echristo@redhat.com>
|
||||
|
||||
* config/mips/mips.md (clzsi, clzdi): New patterns.
|
||||
|
|
|
|||
|
|
@ -2377,7 +2377,7 @@ expand_builtin_memcpy (arglist, target, mode, endp)
|
|||
|
||||
if (endp == 2)
|
||||
{
|
||||
result = simplify_gen_binary (MINUS, GET_MODE (result),
|
||||
result = simplify_gen_binary (MINUS, GET_MODE (dest_addr),
|
||||
result, const1_rtx);
|
||||
result = force_operand (result, NULL_RTX);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue