From: Ian Lance Taylor Date: Thu, 15 Jan 2015 20:42:43 +0000 (+0000) Subject: reflect: Correct error in conversion of s390x support to Go 1.4. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c16468417da5c3db8e6ca93704142b9cafa10c0;p=gcc.git reflect: Correct error in conversion of s390x support to Go 1.4. From-SVN: r219685 --- diff --git a/libgo/go/reflect/makefuncgo_s390x.go b/libgo/go/reflect/makefuncgo_s390x.go index ea4c93e4f67..6e510156b34 100644 --- a/libgo/go/reflect/makefuncgo_s390x.go +++ b/libgo/go/reflect/makefuncgo_s390x.go @@ -320,7 +320,7 @@ argloop: switch v.Kind() { case Ptr, UnsafePointer, Chan, Func, Map: w = uintptr(v.pointer()) - } else { + default: memmove(unsafe.Pointer(&w), v.ptr, v.typ.size) if ret_off_reg != 0 { w = s390xReloadForRegister(