aboutsummaryrefslogtreecommitdiff
path: root/libgo/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-01-15 20:42:43 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-01-15 20:42:43 +0000
commit4c16468417da5c3db8e6ca93704142b9cafa10c0 (patch)
tree3641f510facdd162a1a48b6626f752ff53a9bd36 /libgo/go
parent6c34c761d2f06a5be7c40c20088ff0d941fdb259 (diff)
downloadgcc-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.go2
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(