| commit | fba96e915dd16974745b199d09cfa6a4839cd03e | [log] [tgz] |
|---|---|---|
| author | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Tue Jan 08 00:23:02 2013 +0100 |
| committer | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Tue Jan 08 00:23:02 2013 +0100 |
| tree | 511044ca087a312763d1ad83fa50d60843e4b0da | |
| parent | 77c343328ece54d140af2ed5514d68bb91b29734 [diff] |
cmd/gc: fix uintptr(nil) issues. A constant node of type uintptr with a nil literal could happen in two cases: []int(nil)[1:] and uintptr(unsafe.Pointer(nil)). Fixes #4614. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7059043