[Bug go/55228] New: index.go should check size of int instead of GOARCH
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 7 09:18:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55228
Bug #: 55228
Summary: index.go should check size of int instead of GOARCH
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: ian@airs.com
ReportedBy: hjl.tools@gmail.com
go.test/test/index.go has
} else if a == "s" && n == "" && (i == "i64big" || i ==
"i64bigger") && runtime.GOARCH == "amd64" {
// On amd64, these huge numbers do fit in an int
, so they are not
// rejected at compile time.
However, x32 also sets GOARCH to amd64 and it has 32-bit pointer.
index.go should check size of int instead of GOARCH.
More information about the Gcc-bugs
mailing list