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 do_determine_type #11546

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

gccgo: internal compiler error in do_determine_type #11546

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

Comments

@dvyukov
Copy link
Member

dvyukov commented Jul 2, 2015

gccgo crashes on the following input:

package a
var _[t]
go1: internal compiler error: in do_determine_type, at go/gofrontend/expressions.h:1182
0x5fffd7 Parser_expression::do_determine_type(Type_context const*)
    ../../gcc/go/gofrontend/expressions.h:1182

0x6697dc Array_type::verify_length()
    ../../gcc/go/gofrontend/types.cc:5721
0x669a38 Array_type::do_verify()
    ../../gcc/go/gofrontend/types.cc:5784
0x617004 Type::verify()
    ../../gcc/go/gofrontend/types.h:580
0x617004 Gogo::verify_types()
    ../../gcc/go/gofrontend/gogo.cc:2548
0x610544 go_parse_input_files(char const**, unsigned int, bool, bool)
    ../../gcc/go/gofrontend/go.cc:102
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

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

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

timshen91 pushed a commit to timshen91/gcc that referenced this issue Aug 26, 2015
    
    Fixes golang/go#11546.
    
    Reviewed-on: https://go-review.googlesource.com/13795


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227184 138bc75d-0d04-0410-961f-82ee72b054a4
@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