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 #11542

Closed
dvyukov opened this issue Jul 2, 2015 · 2 comments
Closed

gccgo: internal compiler error: in wide_int_to_tree #11542

dvyukov opened this issue Jul 2, 2015 · 2 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Jul 2, 2015

package a
var g = 0%0i/0
go1: internal compiler error: in wide_int_to_tree, at tree.c:1470
0xde5ca3 wide_int_to_tree(tree_node*, generic_wide_int<wide_int_ref_storage<false> > const&)
    ../../gcc/tree.c:1470
0xde6dfd double_int_to_tree(tree_node*, double_int)
    ../../gcc/tree.c:1302
0x6070ca Gcc_backend::integer_constant_expression(Btype*, __mpz_struct*)
    ../../gcc/go/go-gcc.cc:1232
0x5eb163 Binary_expression::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/expressions.cc:5724
0x5f0d56 Type_conversion_expression::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/expressions.cc:3256
0x614758 Variable::get_init(Gogo*, Named_object*)
    ../../gcc/go/gofrontend/gogo.cc:6358
0x627336 Gogo::write_globals()
    ../../gcc/go/gofrontend/gogo.cc:1383

gcc version 6.0.0 2015070 (experimental) (GCC)

@dvyukov
Copy link
Member Author

dvyukov commented Jul 2, 2015

@paranoiacblack

@ianlancetaylor ianlancetaylor added this to the Gccgo milestone Jul 10, 2015
@paranoiacblack
Copy link
Contributor

This no longer crashes; it was likely fixed by the resolution of #11572.

@golang golang locked and limited conversation to collaborators Aug 24, 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