This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r117979 - in /trunk/gcc: ChangeLog builtins.c t...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 23 Oct 2006 18:50:44 -0000
- Subject: r117979 - in /trunk/gcc: ChangeLog builtins.c t...
Author: hubicka
Date: Mon Oct 23 18:50:40 2006
New Revision: 117979
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117979
Log:
* 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.
Added:
trunk/gcc/testsuite/gcc.dg/memmove-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/testsuite/ChangeLog