1
0
mirror of https://github.com/golang/go synced 2024-11-08 04:26:09 -07:00
go/test/abi
David Chase 998fe70b68 cmd/compile: fixed which-result confusion in presence of 0-width types
A function returning multiple results, some of them zero-width,
will have more than one result present at an offset.  Be sure
that offset AND type match.

Includes test.

Change-Id: I3eb1f56116d989b4e73f533fefabb1bf554c901b
Reviewed-on: https://go-review.googlesource.com/c/go/+/297169
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
2021-02-27 18:38:31 +00:00
..
regabipragma.dir
f_ret_z_not.go cmd/compile: fixed which-result confusion in presence of 0-width types 2021-02-27 18:38:31 +00:00
f_ret_z_not.out cmd/compile: fixed which-result confusion in presence of 0-width types 2021-02-27 18:38:31 +00:00
regabipragma.go cmd/compile: plumb abi info into ssagen/ssa 2021-02-24 17:54:29 +00:00
regabipragma.out [dev.regabi] cmd/compile: cleanup callTargetLSym 2021-01-19 02:41:30 +00:00