aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-11-06 19:48:12 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-11-06 19:48:12 +0000
commitefa1fe237a8fbe632cdffa757d43b8fc6489db38 (patch)
tree9e3885ff3fbde6b9e84fed28c69ba51dda558b67
parent32387f4bfa4eb39d3191d66a624160d447281a33 (diff)
downloadgcc-efa1fe237a8fbe632cdffa757d43b8fc6489db38.zip
gcc-efa1fe237a8fbe632cdffa757d43b8fc6489db38.tar.gz
gcc-efa1fe237a8fbe632cdffa757d43b8fc6489db38.tar.bz2
Update index.go from master testsuite.
From-SVN: r193258
-rw-r--r--gcc/testsuite/go.test/test/index.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/go.test/test/index.go b/gcc/testsuite/go.test/test/index.go
index 447d708..461c2ee 100644
--- a/gcc/testsuite/go.test/test/index.go
+++ b/gcc/testsuite/go.test/test/index.go
@@ -21,6 +21,7 @@ import (
"flag"
"fmt"
"os"
+ "runtime"
)
const prolog = `
@@ -224,6 +225,10 @@ func main() {
// the next pass from running.
// So run it as a separate check.
thisPass = 1
+ } 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.
+ thisPass = 0
} else {
thisPass = 2
}