2014-01-31 Richard Biener <rguenther@suse.de>
commitce319529799266f174e697b59a97310d65f75818
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Jan 2014 11:54:26 +0000 (31 11:54 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Jan 2014 11:54:26 +0000 (31 11:54 +0000)
tree10490efcd99d7b2f362558ef38f3c6b16634e18f
parent02699c6fd764d01a17d714ffe7afb73fde2edec5
2014-01-31  Richard Biener  <rguenther@suse.de>

PR middle-end/59990
* builtins.c (fold_builtin_memory_op): Make sure to not
use a floating-point mode or a boolean or enumeral type for
the copy operation.

* gcc.dg/torture/pr59990.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207338 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr59990.c [new file with mode: 0644]