-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/compile: irgen uses wrong dict param to generate code for getting dict type #51413
Comments
Oh, I forgot the noopt builder uses This is repro'able with A slightly different failure message occurs with
|
Change https://go.dev/cl/388894 mentions this issue: |
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>
Change https://go.dev/cl/391994 mentions this issue: |
It seems to me this issue should be cherry pick to 1.18 branch |
I think so too. Otherwise delve will have issues debugging generic code, right? |
Yeah, indeed. delve is the biggest user of |
Reopening for backport to 1.18 release branch. |
Change https://go.dev/cl/392614 mentions this issue: |
@cuonglm Thanks for flagging this issue. We've discussed it on the release (and compiler) team. It is important for it to be fixed, but this late in the Go 1.18 release cycle we need to prioritize not to make more changes before the final release. As a result, we'll consider this fix for backport to Go 1.18.1 (which is no more 2-3 weeks away from today) rather than blocking the final Go 1.18 release on it (scheduled for this week). Updating this issue accordingly. |
@gopherbot Please consider this for backport to 1.18. This is a serious issue—see #51460 (comment) and #51460 (comment) for detailed rationale to backport. |
Backport issue(s) opened: #51669 (for 1.18). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
This issue can now be closed. |
Since submitting https://go-review.googlesource.com/c/go/+/388534, the linux-amd64-noopt builder is failing in test/typeparam/mdempsky/13.go:
https://build.golang.org/log/e4383af359722053b9d212fc3c8c69351e0ffbd1
I'm not immediately able to reproduce this failure locally.
/cc @danscales @randall77
The text was updated successfully, but these errors were encountered: