]> Cypherpunks.ru repositories - gostls13.git/commitdiff
test: workaround codegen bug in typeparam/mdempsky/13.go
authorMatthew Dempsky <mdempsky@google.com>
Tue, 1 Mar 2022 20:21:04 +0000 (12:21 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 1 Mar 2022 20:52:30 +0000 (20:52 +0000)
This test case is failing on the noopt builder, because it disables
inlining. Evidently the explicit -gcflags flag in all of our generics
tests was overriding the noopt builder's default mode.

This CL restores a noop -gcflags to get the builder green again until
the issue can be properly fixed.

Updates #51413.

Change-Id: I61d22a007105f756104ba690b73f1d68ce4be281
Reviewed-on: https://go-review.googlesource.com/c/go/+/388894
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>

test/typeparam/mdempsky/13.go

index 8e11352b5148407f2f857bc2a836fca7d5192f3c..bf37a64177a994e2f7fa4f1e42e69fd523573cc5 100644 (file)
@@ -1,4 +1,4 @@
-// run
+// run -gcflags=""
 
 // Copyright 2021 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style