You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that https://go.dev/play/p/vyyJGI51r2w should pass, but it fails with Go 1.18 (and Go 1.17). It's a somewhat obscure case IMO (gccgo added the same broken optimization to match cmd/compile semantics actually), but it is in fact valid code.
https://go.dev/cl/395541 should backport cleanly and fixes the issue. The other package runtime CLs are not necessary for the fix.
@mdempsky requested issue #51913 to be considered for backport to the next 1.18 minor release.
The text was updated successfully, but these errors were encountered: