Issue #14 new
$ GOOS=windows GOARCH=386 go build # bitbucket.org/zombiezen/gopdf/pdf run compiler with -v for register allocation sites bitbucket.org/zombiezen/gopdf/pdf/image.go:89: internal compiler error: out of fixed registers
Tried with Go 1.6.0.
The code that fail is:
buf[j+0] = byte(uint16(img.Pix[i+0]) * 0xff / a)
Yeah, it look like a Go bug, but maybe something there is not easy for it to handle.
Here is a commit in stdlib that work around a similar bug: