From 98fd7ef09671c7fff9f60091252dfd2badd16b0a Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 15 Jan 2015 20:42:43 +0000 Subject: reflect: Correct error in conversion of s390x support to Go 1.4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219685 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgo/go/reflect/makefuncgo_s390x.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgo/go') 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( -- cgit v1.2.3