]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
reflect: enable allocation tests
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 2 Feb 2018 00:33:03 +0000 (00:33 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 2 Feb 2018 00:33:03 +0000 (00:33 +0000)
    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

gcc/go/gofrontend/MERGE
libgo/go/reflect/all_test.go

index 46bdc3c67da6fc3e1e7dacc903659522286d8197..162c4a85b38d592d547b0dd95709244a355fab2b 100644 (file)
@@ -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.
index 86e738555f86441424b3426abe391c9d14bc4074..3070aac0fe071f9552f4698ec320c62ea0f06316 100644 (file)
@@ -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))