gc: bug301

Fixes #990.

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