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: unhandled addr INDEXMAP #14678
Comments
CC @randall77 |
CL https://golang.org/cl/22833 mentions this issue. |
Had to revert the fix due to #15602. Will try again for 1.8. Minimal repro of regression:
(Sorry @tshprecher, I think your original CL did not have this problem, and it was only introduced by my suggested rewrite.) |
@mdempsky, sorry for this, and sorry for responding so late as I rewrite my noisy github gmail filters. It's no problem. |
Possibly related issue #13433. Also, FYI (and for my own reference), running cmd/compile with -W -W will dump the nodes list both before and after the "order" pass. E.g., for function foo, it's before-order form is printed as "before order foo", and then it's after-order form is printed as "before foo". ("before foo" here really means "before walk foo", where 'walk' is the compiler's next function pass after 'order'.) Unfortunately the raw Nod tree dump is very informative, but not very intuitive. (Aside: If anyone wants to play with prettier ways to print those out, that would be awesome.) |
Seems to work fine now. |
https://play.golang.org/p/t1rcQ_zYVD
Successful compilation
Tip fails with
internal compiler error: unhandled addr INDEXMAP
, go1.6 and go1.5.3 fail withinternal compiler error: agen: unknown op INDEXMAP u(2) l(13) tc(1) assigned bool
, compilation on go1.4 succeeds.The text was updated successfully, but these errors were encountered: