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 uniform_vector_p #12935

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

gccgo: internal compiler error in uniform_vector_p #12935

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

Comments

@dvyukov
Copy link
Member

dvyukov commented Oct 14, 2015

gccgo crashes on the following program:

package a
var v = 1>>"
go1: internal compiler error: in uniform_vector_p, at tree.c:10726
0xd5217d uniform_vector_p(tree_node const*)
    ../../gcc/tree.c:10726
0xe7c09c generic_simplify_85
    gcc/generic-match.c:3446
0xeb1442 generic_simplify_RSHIFT_EXPR
    gcc/generic-match.c:20873
0xeb3185 generic_simplify(unsigned int, tree_code, tree_node*, tree_node*, tree_node*)
    gcc/generic-match.c:21957
0x80d9cd fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*)
    ../../gcc/fold-const.c:9100
0x818aaa fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*, tree_node*)
    ../../gcc/fold-const.c:12467
0x6078c8 Gcc_backend::binary_expression(Operator, Bexpression*, Bexpression*, Location)
    ../../gcc/go/go-gcc.cc:1642
0x5ec340 Binary_expression::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/expressions.cc:5721
0x5f2416 Type_conversion_expression::do_get_backend(Translate_context*)
    ../../gcc/go/gofrontend/expressions.cc:3294
0x6164c8 Variable::get_init(Gogo*, Named_object*)
    ../../gcc/go/gofrontend/gogo.cc:6438
0x629d8b Gogo::write_globals()
    ../../gcc/go/gofrontend/gogo.cc:1384

gcc on rev 228818, gofrontend on a4bcd319d98ddc52b3e7d16ec87d92aad868ab05

@dvyukov
Copy link
Member Author

dvyukov commented Oct 14, 2015

@ianlancetaylor

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

Sorry for the clutter and lack of updates. I don't know which CL fixed this, but it reports the error I expect on gcc rev ecebe44fafe0879224402bb10abb7cd10f899ac6.

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