re PR go/80226 (ICE gimple-expr.c:474 on Go function returning multiple empty struct...
authorThan McIntosh <thanm@google.com>
Tue, 28 Mar 2017 20:08:31 +0000 (20:08 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 28 Mar 2017 20:08:31 +0000 (20:08 +0000)
commit1f599d751ecacf9bcec4fe5ebaaaa1891d1b820e
treedac722570cfe68a1d0e7d43f5a30c1f1158f71e5
parent0c6b03b5158f53a3c7042cf8625aa5e6bc74f52b
re PR go/80226 (ICE gimple-expr.c:474 on Go function returning multiple empty struct/array values)

PR go/80226
* go-gcc.cc (Gcc_backend::return_statement): Check for
void_type_node when checking result size.

From-SVN: r246553
gcc/go/ChangeLog
gcc/go/go-gcc.cc