diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-15 20:42:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-15 20:42:43 +0000 |
commit | 4c16468417da5c3db8e6ca93704142b9cafa10c0 (patch) | |
tree | 3641f510facdd162a1a48b6626f752ff53a9bd36 /libgo/go | |
parent | 6c34c761d2f06a5be7c40c20088ff0d941fdb259 (diff) | |
download | gcc-4c16468417da5c3db8e6ca93704142b9cafa10c0.zip gcc-4c16468417da5c3db8e6ca93704142b9cafa10c0.tar.gz gcc-4c16468417da5c3db8e6ca93704142b9cafa10c0.tar.bz2 |
reflect: Correct error in conversion of s390x support to Go 1.4.
From-SVN: r219685
Diffstat (limited to 'libgo/go')
-rw-r--r-- | libgo/go/reflect/makefuncgo_s390x.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/reflect/makefuncgo_s390x.go b/libgo/go/reflect/makefuncgo_s390x.go index ea4c93e..6e51015 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( |