diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-27 21:40:08 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-27 21:40:08 +0000 |
commit | 3f95c6909beb5ba36887def50f7d0421f02196b0 (patch) | |
tree | f297688f9b2d8bcdac9ab1042ac06506c382e691 /gcc/langhooks.h | |
parent | 38150ede8ad6888fdd345bee3712de01636a1e3e (diff) | |
download | gcc-3f95c6909beb5ba36887def50f7d0421f02196b0.tar.gz |
* builtins.c (fold_builtin_memory_op): Optimize memmove
into memcpy if we can prove source and destination don't overlap.
* gcc.dg/memmove-2.c: New test.
* gcc.dg/memmove-3.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145127 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
0 files changed, 0 insertions, 0 deletions