reflect: Handle calls to functions that take or return empty structs
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2013 02:30:03 +0000 (02:30 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2013 02:30:03 +0000 (02:30 +0000)
commit723f3d2c0e968a337e990bdcacf57fa5650750f6
tree16f6d5875810d941d00dcc7096e6e77ae76ce1bf
parenta3db0683aede5b937aa7a76bb4a0f547deed7144
reflect: Handle calls to functions that take or return empty structs

Fixes issue 6761

This simple change seems to work fine, slightly to my surprise.

This includes the tests I submitted to the main Go repository at
https://codereview.appspot.com/26570046

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205001 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/go/reflect/all_test.go
libgo/runtime/go-reflect-call.c