gc: bug271

Fixes #662.

R=ken2
CC=golang-dev
https://golang.org/cl/978043
2 files changed