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 (2) #12937

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

gccgo: internal compiler error in do_determine_type (2) #12937

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 e
var _, [a]e
go1: internal compiler error: in do_determine_type, at go/gofrontend/expressions.h:1192
0x601bb7 Parser_expression::do_determine_type(Type_context const*)
    ../../gcc/go/gofrontend/expressions.h:1192
0x66c84c Array_type::verify_length()
    ../../gcc/go/gofrontend/types.cc:5735
0x66cac7 Array_type::do_verify()
    ../../gcc/go/gofrontend/types.cc:5800
0x618f14 Type::verify()
    ../../gcc/go/gofrontend/types.h:580
0x618f14 Gogo::verify_types()
    ../../gcc/go/gofrontend/gogo.cc:2576
0x6122a4 go_parse_input_files(char const**, unsigned int, bool, bool)
    ../../gcc/go/gofrontend/go.cc:102
0x60e06f go_langhook_parse_file
    ../../gcc/go/go-lang.c:304

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
@gopherbot
Copy link
Contributor

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

kraj pushed a commit to kraj/gcc that referenced this issue Jan 27, 2016
    
    Fixes golang/go#12937.
    
    Reviewed-on: https://go-review.googlesource.com/16233


git-svn-id: svn+ssh:https://gcc.gnu.org/svn/gcc/trunk@232857 138bc75d-0d04-0410-961f-82ee72b054a4
@golang golang locked and limited conversation to collaborators Feb 3, 2017
asiekierka pushed a commit to WonderfulToolchain/gcc-ia16 that referenced this issue May 16, 2022
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