From f4722d84499cc07fe8c8beb9b3154e59b7d21adf Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Tue, 1 Mar 2022 12:21:04 -0800 Subject: [PATCH] test: workaround codegen bug in typeparam/mdempsky/13.go 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 Run-TryBot: Matthew Dempsky Reviewed-by: Keith Randall Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot --- test/typeparam/mdempsky/13.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/typeparam/mdempsky/13.go b/test/typeparam/mdempsky/13.go index 8e11352b51..bf37a64177 100644 --- a/test/typeparam/mdempsky/13.go +++ b/test/typeparam/mdempsky/13.go @@ -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 -- 2.50.0