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

gccgo: internal compiler error in do_get_backend (3) #12617

Closed
dvyukov opened this issue Sep 14, 2015 · 2 comments
Closed

gccgo: internal compiler error in do_get_backend (3) #12617

dvyukov opened this issue Sep 14, 2015 · 2 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Sep 14, 2015

gccgo crashes on the following program:

var _,_=<-chan int(n
go1: internal compiler error: in do_get_backend, at go/gofrontend/expressions.cc:3469
0x5e33f4 Unsafe_type_conversion_expression::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/expressions.cc:3469
0x5fcc0a Call_expression::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/expressions.cc:9373
0x64f522 Temporary_statement::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/statements.cc:487
0x61db47 Block::get_backend(Translate_context*)
    ../../gcc/go/gofrontend/gogo.cc:5867
0x64ccfc Block_statement::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/statements.cc:1836
0x61db47 Block::get_backend(Translate_context*)
    ../../gcc/go/gofrontend/gogo.cc:5867
0x61dcf3 Variable::get_init_block(Gogo*, Named_object*, Bvariable*)
    ../../gcc/go/gofrontend/gogo.cc:6431
0x626547 Gogo::write_globals()
    ../../gcc/go/gofrontend/gogo.cc:1418

gofrontend is on commit 1d9d92ab09996d2f7795481d2876a21194502b89

@dvyukov
Copy link
Member Author

dvyukov commented Sep 14, 2015

@ianlancetaylor

@ianlancetaylor ianlancetaylor added this to the Gccgo milestone Sep 14, 2015
@paranoiacblack
Copy link
Contributor

This was fixed in #12320.

@golang golang locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants