re PR tree-optimization/15419 (memcpy pessimization)
authorRichard Guenther <rguenther@suse.de>
Mon, 23 May 2011 12:03:19 +0000 (12:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 23 May 2011 12:03:19 +0000 (12:03 +0000)
commit9a9822e13ece30035ad18fed7f3946d8b1ce67a9
tree241dd31d7e58e6afc1ee9ea44f993a5ea97c9b9c
parentc80286502f7db28d9ef38bdb613209751667834a
re PR tree-optimization/15419 (memcpy pessimization)

2011-05-23  Richard Guenther  <rguenther@suse.de>

PR middle-end/15419
* builtins.c (fold_builtin_memory_op): Be less restrictive about
what pointer types we accept for folding.

* gcc.dg/memcpy-3.c: New testcase.

From-SVN: r174065
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/memcpy-3.c [new file with mode: 0644]