* c-c++-common/ubsan/sanitize-recover-7.c (dg-options): Add -w.
[official-gcc.git] / libgo / runtime / go-memmove.c
bloba6fda08c47def2d5dde9c4686e4a4df6f2ab84f6
1 /* go-memmove.c -- move one memory buffer to another
3 Copyright 2016 The Go Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style
5 license that can be found in the LICENSE file. */
7 #include "runtime.h"
9 void move(void *, void *, uintptr)
10 __asm__ (GOSYM_PREFIX "runtime.memmove");
12 void
13 move (void *p1, void *p2, uintptr len)
15 __builtin_memmove (p1, p2, len);