aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2012-02-14 18:04:28 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-02-14 18:04:28 +0000
commitebe8daca1e232740427d1d1be813b6d611137e9f (patch)
tree4fa12b7bd00c35d81243d8a29a3d662f569dbee3 /gcc
parent95787705db5e014d9ba13ee428bb4d5a2b1f55ee (diff)
downloadgcc-ebe8daca1e232740427d1d1be813b6d611137e9f.zip
gcc-ebe8daca1e232740427d1d1be813b6d611137e9f.tar.gz
gcc-ebe8daca1e232740427d1d1be813b6d611137e9f.tar.bz2
re PR go/48501 (64bit-out.go, select5-out.go, tmp.go compilation times out)
PR go/48501 * go.test/go-test.exp (go-gc-tests): Disable optimizations when compiling generated file for 64bit and index tests. From-SVN: r184219
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/go.test/go-test.exp10
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 69564ea..67c9274 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-14 Ian Lance Taylor <iant@google.com>
+
+ PR go/48501
+ * go.test/go-test.exp (go-gc-tests): Disable optimizations when
+ compiling generated file for 64bit and index tests.
+
2012-02-14 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/lower-subreg-1.c: Fix and simplify target selector.
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index 3e51b19..c559244 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -433,7 +433,12 @@ proc go-gc-tests { } {
} else {
pass "$name execution"
file delete $base-out.x
+ # Disable optimizations as this test takes a long time
+ # to compile.
+ set hold $TORTURE_OPTIONS
+ set TORTURE_OPTIONS [ list { -O0 -g }]
go-torture-execute "./$base-out.go"
+ set TORTURE_OPTIONS $hold
}
file delete $base-out.go
}
@@ -940,7 +945,12 @@ proc go-gc-tests { } {
} else {
pass "$name execution 0"
file delete tmp.x
+ # Disable optimizations as this test takes a long time
+ # to compile.
+ set hold $TORTURE_OPTIONS
+ set TORTURE_OPTIONS [ list { -O0 -g }]
go-torture-execute "./tmp.go"
+ set TORTURE_OPTIONS $hold
}
if { [catch "exec $output_file -pass 1 >tmp.go"] != 0 } {
fail "$name execution 1"