Descriptioncmd/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 issue 4585.
(again)
Patch Set 1 #Patch Set 2 : diff -r 7059eeacbfba https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 7059eeacbfba https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 0264b73d26bf https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|