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: no witness for reachable phi #19678
Comments
These are great. Thanks, @ALTree. Out of curiosity, are these from fuzzing with gofuzz, or...? |
Anyone want to bisect this? |
I'm using Dmitry's gosmith (github.com/dvyukov/gosmith). I've found a few more, but it takes time to reduce them in minimal form. |
Cool. It may be easier to reduce them if you bisect first--the commit might help provide clues about which parts are important, and the bisection info is super useful anyway. Also, cc @mvdan who I believe has been working on an automated reducer. Maybe you could test drive it! |
This was introduced in 4e42890 (cmd/compile: avoid generating some dead blocks). |
@josharian I did see this issue, but unfortunately the program has already been reduced (afaik fully) by hand :) |
Ah, sure; current status is available at https://github.com/mvdan/goreduce. See the open issues though, it's missing some important bits like inlining of vars and funcs. |
CL https://golang.org/cl/38602 mentions this issue. |
Nice. For now we're done: the other 3 I had are actually dups, they just crashed the compiler with different messages. I ran the latest tip on them and they are all fixed. |
For now. :) I'm glad you're running it, and I hope you continue to do so; bugs spring eternal, and it's nice to know about them quickly. |
go version devel +e95989c1c1 Thu Mar 23 17:57:25 2017 +0000 linux/amd64
The following program:
crashes the compiler on tip, but not in go1.8 and older.
The text was updated successfully, but these errors were encountered: