compiler: don't pad zero-sized trailing field in results struct
commit79513dc0b2d980bfd1b109d0d502de487c02b894
authorIan Lance Taylor <iant@golang.org>
Fri, 20 Aug 2021 18:33:29 +0000 (20 11:33 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 11 Sep 2021 21:20:19 +0000 (11 14:20 -0700)
tree6b7e54fcd29baab91336719c02d4944fb2665f76
parent5485bbebb3679245dd4bc7c149bbc940f8b2e632
compiler: don't pad zero-sized trailing field in results struct

Nothing can take the address of that field anyhow.

Fixes PR go/101994

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/343873
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h