diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-02 00:33:03 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-02 00:33:03 +0000 |
commit | 60a57222fe2166519b54641766bccab92fa15606 (patch) | |
tree | 76de6a1a69229bc74191b8611aa22360b6c0369f | |
parent | 38f08ec0bd9bd39c578c2e9283a9aa00dc6bda15 (diff) | |
download | gcc-60a57222fe2166519b54641766bccab92fa15606.zip gcc-60a57222fe2166519b54641766bccab92fa15606.tar.gz gcc-60a57222fe2166519b54641766bccab92fa15606.tar.bz2 |
reflect: enable allocation tests
They were disabled due to the lack of escape analysis. Now that
we have escape analysis, unskip these tests.
Reviewed-on: https://go-review.googlesource.com/86248
From-SVN: r257324
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | libgo/go/reflect/all_test.go | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 46bdc3c..162c4a8 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -5e8a91bf239c253d7b5c84bd2c1dd3ecb18980e9 +b332ba2f0d0302eeb01a228c217928296cec56f6 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/go/reflect/all_test.go b/libgo/go/reflect/all_test.go index 86e7385..3070aac 100644 --- a/libgo/go/reflect/all_test.go +++ b/libgo/go/reflect/all_test.go @@ -6162,9 +6162,6 @@ func TestPtrToMethods(t *testing.T) { } func TestMapAlloc(t *testing.T) { - if runtime.Compiler == "gccgo" { - t.Skip("skipping on gccgo until we have escape analysis") - } m := ValueOf(make(map[int]int, 10)) k := ValueOf(5) v := ValueOf(7) @@ -6195,9 +6192,6 @@ func TestMapAlloc(t *testing.T) { } func TestChanAlloc(t *testing.T) { - if runtime.Compiler == "gccgo" { - t.Skip("skipping on gccgo until we have escape analysis") - } // Note: for a chan int, the return Value must be allocated, so we // use a chan *int instead. c := ValueOf(make(chan *int, 1)) |