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: i...@airs.com

        ReportedBy: hjl.to...@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.

Reply via email to