Avoid dependence on libc headers in nvptx realloc.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 17 Feb 2015 16:19:56 +0000 (16:19 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 17 Feb 2015 16:19:56 +0000 (16:19 +0000)
commit77d10a1b208d0e78ee638a49952276be9b830db4
tree4aba793faea5f0c0e6b31efb9fae3b9b7af9fd00
parent1d93fa5c1b05abc3eeeaa9a9d1a8520fd068f65e
Avoid dependence on libc headers in nvptx realloc.

* config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
and <string.h>.
(__nvptx_realloc): Call __builtin_memcpy instead of memcpy.

From-SVN: r220764
libgcc/ChangeLog
libgcc/config/nvptx/realloc.c