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 wide_int_to_tree (2) #12618

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

gccgo: internal compiler error in wide_int_to_tree (2) #12618

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:

package p
var v=0>>"
go1: internal compiler error: in wide_int_to_tree, at tree.c:1456
0xd452d3 wide_int_to_tree(tree_node*, generic_wide_int<wide_int_ref_storage<false> > const&)
    ../../gcc/tree.c:1456
0xd4642d double_int_to_tree(tree_node*, double_int)
    ../../gcc/tree.c:1288
0x606e4a Gcc_backend::integer_constant_expression(Btype*, __mpz_struct*)
    ../../gcc/go/go-gcc.cc:1231
0x5ea9ec Binary_expression::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/expressions.cc:5712
0x5f0726 Type_conversion_expression::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/expressions.cc:3269
0x61dd31 Variable::get_init_block(Gogo*, Named_object*, Bvariable*)
    ../../gcc/go/gofrontend/gogo.cc:6448
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
@gopherbot
Copy link
Contributor

CL https://golang.org/cl/14647 mentions this issue.

rth7680 pushed a commit to rth7680/gcc that referenced this issue Oct 20, 2015
    
    Fixes golang/go#12618.
    
    Reviewed-on: https://go-review.googlesource.com/14647


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229096 138bc75d-0d04-0410-961f-82ee72b054a4
@golang golang locked and limited conversation to collaborators Oct 24, 2016
asiekierka pushed a commit to WonderfulToolchain/gcc-ia16 that referenced this issue May 16, 2022
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