[Bug go/80226] ICE gimple-expr.c:474 on Go function returning multiple empty struct/array values

2017-03-28 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80226 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug go/80226] ICE gimple-expr.c:474 on Go function returning multiple empty struct/array values

2017-03-28 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80226 --- Comment #2 from ian at gcc dot gnu.org --- Author: ian Date: Tue Mar 28 20:08:31 2017 New Revision: 246553 URL: https://gcc.gnu.org/viewcvs?rev=246553=gcc=rev Log: PR go/80226 * go-gcc.cc (Gcc_backend::return_statement):

[Bug go/80226] ICE gimple-expr.c:474 on Go function returning multiple empty struct/array values

2017-03-27 Thread thanm at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80226 --- Comment #1 from Than McIntosh --- This seems to do the trick: diff --git a/gcc/go/go-gcc.cc b/gcc/go/go-gcc.cc index ed6fc2c6105..62baa91fab8 100644 --- a/gcc/go/go-gcc.cc +++ b/gcc/go/go-gcc.cc @@ -2081,7 +2081,8 @@