public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/55228] New: index.go should check size of int instead of GOARCH
@ 2012-11-07  9:18 hjl.tools at gmail dot com
  2012-11-09  0:06 ` [Bug go/55228] " ian at airs dot com
  0 siblings, 1 reply; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2012-11-07  9:18 UTC (permalink / raw)
  To: gcc-bugs


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug go/55228] index.go should check size of int instead of GOARCH
  2012-11-07  9:18 [Bug go/55228] New: index.go should check size of int instead of GOARCH hjl.tools at gmail dot com
@ 2012-11-09  0:06 ` ian at airs dot com
  0 siblings, 0 replies; 2+ messages in thread
From: ian at airs dot com @ 2012-11-09  0:06 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55228

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2012-11-09 00:06:41 UTC ---
Fixed on mainline.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-09  0:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-07  9:18 [Bug go/55228] New: index.go should check size of int instead of GOARCH hjl.tools at gmail dot com
2012-11-09  0:06 ` [Bug go/55228] " ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).