http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57571
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Anyway, please see http://gcc.gnu.org/bugs.html, without preprocessed source and gcc options passed to it this report is useless. Also, if it is a memcpy into a hardware device area, perhaps the kernel shouldn't use memcpy for that but some routine optimized for device memory access, the compiler isn't told in any way that it isn't normal memory and all it can do is choose best memcpy strategy for host memory to memory copies.