We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 crashes on the following program:
package a const c = 0<<false
go1: internal compiler error: in insert, at go/gofrontend/gogo.cc:7955 0x61ff44 Statement_inserter::insert(Statement*) ../../gcc/go/gofrontend/gogo.cc:7955 0x5deead Binary_expression::do_flatten(Gogo*, Named_object*, Statement_inserter*) ../../gcc/go/gofrontend/expressions.cc:5172 0x610913 Expression::flatten(Gogo*, Named_object*, Statement_inserter*) ../../gcc/go/gofrontend/expressions.h:813 0x610913 Flatten::expression(Expression**) ../../gcc/go/gofrontend/gogo.cc:3904 0x5e209d Expression::traverse(Expression**, Traverse*) ../../gcc/go/gofrontend/expressions.cc:43 0x616991 Named_constant::traverse_expression(Traverse*) ../../gcc/go/gofrontend/gogo.cc:6594 0x616991 Bindings::traverse(Traverse*, bool) ../../gcc/go/gofrontend/gogo.cc:7539 0x616b51 Gogo::traverse(Traverse*) ../../gcc/go/gofrontend/gogo.cc:2495 0x616daf Gogo::flatten() ../../gcc/go/gofrontend/gogo.cc:3938 0x6104db go_parse_input_files(char const**, unsigned int, bool, bool) ../../gcc/go/gofrontend/go.cc:139 0x60c20f go_langhook_parse_file ../../gcc/go/go-lang.c:304
gofrontend is on commit 1d9d92ab09996d2f7795481d2876a21194502b89
The text was updated successfully, but these errors were encountered:
@ianlancetaylor
Sorry, something went wrong.
CL https://golang.org/cl/14645 mentions this issue.
golang/gofrontend@a4bcd31
compiler: Don't make temporaries for constant operands.
545ab43
Fixes golang/go#12616. Reviewed-on: https://go-review.googlesource.com/14645 git-svn-id: svn+ssh:https://gcc.gnu.org/svn/gcc/trunk@228578 138bc75d-0d04-0410-961f-82ee72b054a4
65f52d9
Fixes golang/go#12616. Reviewed-on: https://go-review.googlesource.com/14645 From-SVN: r228578
No branches or pull requests
gccgo crashes on the following program:
gofrontend is on commit 1d9d92ab09996d2f7795481d2876a21194502b89
The text was updated successfully, but these errors were encountered: