libgo patch committed: Fix reflect.Call of function returning zero-sized type

2015-11-23 Thread Ian Lance Taylor
PR 68496 points out a bug in the handling of reflect.Call calling a function that returns a zero-sized type. libffi doesn't understand zero-sized types, which don't exist in C, so they require special handling. This patch fixes the problem. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gn

libgo patch committed: Fix reflect.Call passing function

2013-09-30 Thread Ian Lance Taylor
There was a bug in the libgo implementation of reflect.Call when passing a function following a non-pointer type. This patch fixes the bug and adds a test. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline and 4.8 branch. Ian diff -r 7c369498bb81 libgo/go/ref

libgo patch committed: Fix reflect.Call

2012-11-02 Thread Ian Lance Taylor
Part of my initial 64-bit support patch was bogus: I shadowed a variable in a couple of functions used for reflect.Call. This patch fixes it. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r cecca11207b7 libgo/runtime/go-reflect-call.c --- a/libgo