-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: ICE with assertion failed
when using GODEBUG=gotypesalias=1
#65893
Comments
This looks like a different bug than #65778 with a similar root cause (spurious unhandled |
I think it is. |
Duplicated of #65778 |
@cuonglm then https://go.dev/cl/565995 doesn't fix #65778 |
Hmm, it's strange. Could you please show me the error output? |
@cuonglm this in my original message.
it shows I first checkout your cl.
Shows the panic. |
@Jorropo No, I mean you said it does not fix #65778, then what the error output when you build with https://go.dev/cl/565995? I'm AFK FYI. |
I don't get what you mean, I built with https://go.dev/cl/565995 from the start. What I meant is that if this issue is a dup of #65778 like you are saying then https://go.dev/cl/565995 is not fixing #65778 because I still can't build even after applying your patch. (more exactly I go from the exact same panic stack trace as #65778 before applying https://go.dev/cl/565995 to a different panic stack trace after applying that why I don't think it's the same bug) |
@Jorropo It does fix #65778, build ok for me after applying https://go.dev/cl/565995. |
what builds ok ? |
The garble repo: https://github.com/mvdan/garble-fork |
Yeah but my code doesn't, so why did you closed this issue ?
|
|
Oh I see what happen, I have two bugs (or more idk) I am saying that your CL doesn't fix #65778 in response to you claiming this is a duplicate. IMO what is happening with |
Minimal reproducer:
|
It's interesting that changing the order of type definition makes the code compiled (with https://go-review.googlesource.com/c/go/+/565995 applied):
cc @mdempsky |
assertion failed
when using GODEBUG=gotypesalias=1
assertion failed
when using GODEBUG=gotypesalias=1
CC @mdempsky |
Change https://go.dev/cl/568455 mentions this issue: |
This seems to also happen at tip (commit 94dba61) if attempting to make.bash with
|
Go version
go version devel go1.23-d2c49a55be Thu Feb 22 20:02:36 2024 +0700 X:rangefunc linux/amd64
(this has https://go-review.googlesource.com/c/go/+/565995 checked out because I was running into #65778 too)Output of
go env
in your module/workspace:What did you do?
What did you see happen?
What did you expect to see?
Nothing (the build succeed)
The text was updated successfully, but these errors were encountered: