0
1
mirror of https://github.com/golang/go synced 2025-07-19 22:21:52 +00:00
Files
go/test/fixedbugs/issue4585.go
Rémy Oudompheng 1d6eb2e9fa cmd/gc: fix handling of struct padding in hash/eq.
The test case of issue 4585 was not passing due to
miscalculation of memequal args, and the previous fix
does not handle padding at the end of a struct.

Handling of padding at end of structs also fixes the case
of [n]T where T is such a padded struct.

Fixes #4585.
(again)

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7133059
2013-01-18 22:40:32 +01:00

2.5 KiB