builtins.c (expand_builtin_memmove): Remove ORIG_EXP argument; don't do conversion...
authorJan Hubicka <jh@suse.cz>
Mon, 23 Oct 2006 18:50:40 +0000 (20:50 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 23 Oct 2006 18:50:40 +0000 (18:50 +0000)
commiteaf1912236bac3d5b6182a551f2d294478e3d83c
treed8fd80b47f68bac6cd4e41ae69cc7c05702cc8c0
parent353293e7f758be575d88aa78edb9ccddb7816cba
builtins.c (expand_builtin_memmove): Remove ORIG_EXP argument; don't do conversion from memmove to memcpy here.

* builtins.c (expand_builtin_memmove): Remove ORIG_EXP argument;
don't do conversion from memmove to memcpy here.
(expand_builtin_bcopy, expand_builtin): Update call of
expand_builtin_memmove.
(fold_builtin_memory_op): Do folding of memmove to memcpy here.

* gcc.dg/memmove-1.c: New test.

From-SVN: r117979
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/memmove-1.c [new file with mode: 0644]