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 Builtin_call_expression #11544

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

gccgo: internal compiler error in Builtin_call_expression #11544

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

Comments

@dvyukov
Copy link
Member

dvyukov commented Jul 2, 2015

package a
var a = (complex^0)(0
go1: internal compiler error: in Builtin_call_expression, at go/gofrontend/expressions.cc:6630
0x5e7c03 Builtin_call_expression::Builtin_call_expression(Gogo*, Expression*, Expression_list*, bool, Location)
    ../../gcc/go/gofrontend/expressions.cc:6630
0x5f9798 Call_expression::do_lower(Gogo*, Named_object*, Statement_inserter*, int)
    ../../gcc/go/gofrontend/expressions.cc:8600
0x6109ae Expression::lower(Gogo*, Named_object*, Statement_inserter*, int)
    ../../gcc/go/gofrontend/expressions.h:791
0x6109ae Lower_parse_tree::expression(Expression**)
    ../../gcc/go/gofrontend/gogo.cc:2740
0x61255e Gogo::lower_expression(Named_object*, Statement_inserter*, Expression**)
    ../../gcc/go/gofrontend/gogo.cc:2779
0x61bf5c Variable::lower_init_expression(Gogo*, Named_object*, Statement_inserter*)
    ../../gcc/go/gofrontend/gogo.cc:5985
0x61bfac Lower_parse_tree::variable(Named_object*)
    ../../gcc/go/gofrontend/gogo.cc:2609
0x6169e9 Bindings::traverse(Traverse*, bool)
    ../../gcc/go/gofrontend/gogo.cc:7493
0x616b71 Gogo::traverse(Traverse*)
    ../../gcc/go/gofrontend/gogo.cc:2491
0x616f97 Gogo::lower_parse_tree()
    ../../gcc/go/gofrontend/gogo.cc:2757
0x61052c go_parse_input_files(char const**, unsigned int, bool, bool)
    ../../gcc/go/gofrontend/go.cc:95
0x60c32f go_langhook_parse_file
    ../../gcc/go/go-lang.c:304

gcc version 6.0.0 2015070 (experimental) (GCC)

@dvyukov
Copy link
Member Author

dvyukov commented Jul 2, 2015

@paranoiacblack

@gopherbot
Copy link
Contributor

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

pbeeler pushed a commit to SaberMod/GCC_SaberMod that referenced this issue Aug 28, 2015
    
    Fixes golang/go#11544.
    
    Reviewed-on: https://go-review.googlesource.com/13893


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227245 138bc75d-0d04-0410-961f-82ee72b054a4
@golang golang locked and limited conversation to collaborators Sep 4, 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