Skip to content
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: internal compiler error: Expand calls interface data problem [1.16 backport] #49391

Closed
gopherbot opened this issue Nov 5, 2021 · 3 comments
Labels
CherryPickApproved Used during the release process for point releases
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Nov 5, 2021

@cuonglm requested issue #49378 to be considered for backport to the next 1.16 minor release.

@gopherbot please open backport to 1.16 and 1.17

cc @randall77 @dr2chase

@gopherbot gopherbot added the CherryPickCandidate Used during the release process for point releases label Nov 5, 2021
@gopherbot gopherbot added this to the Go1.16.11 milestone Nov 5, 2021
@gopherbot
Copy link
Author

gopherbot commented Nov 5, 2021

Change https://golang.org/cl/361597 mentions this issue: [release-branch.go1.16] cmd/compile: only update source type when processing struct/array

@heschi heschi added the CherryPickApproved Used during the release process for point releases label Nov 24, 2021
@gopherbot gopherbot removed the CherryPickCandidate Used during the release process for point releases label Nov 24, 2021
@heschi
Copy link
Contributor

heschi commented Nov 24, 2021

@randall77 @dr2chase This cherrypick's CL still needs review.

gopherbot pushed a commit that referenced this issue Dec 2, 2021
…cessing struct/array

This is backport of CL 3651594, with the test from CL 360057.

CL 360057 fixed missing update source type in storeArgOrLoad. However,
we should only update the type when processing struct/array. If we
update the type right before calling storeArgOrLoad, we may generate a
value with invalid type, e.g, OpStructSelect with non-struct type.

Fixes #49391

Change-Id: Ib7e10f72f818880f550aae5c9f653db463ce29b0
Reviewed-on: https://go-review.googlesource.com/c/go/+/361594
Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/361597
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
@gopherbot
Copy link
Author

gopherbot commented Dec 2, 2021

Closed by merging 8a12f5d to release-branch.go1.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPickApproved Used during the release process for point releases
Projects
None yet
Development

No branches or pull requests

2 participants