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

Closed
dvyukov opened this issue Aug 25, 2015 · 2 comments
Closed

gccgo: internal compiler error: in start_function (2) #12324

dvyukov opened this issue Aug 25, 2015 · 2 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Aug 25, 2015

gccgo crashes on the following program:

package a
func([]a)e(){}
go1: internal compiler error: in start_function, at go/gofrontend/gogo.cc:1821
0x626dba Gogo::start_function(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Function_type*, bool, Location)
    ../../gcc/go/gofrontend/gogo.cc:1821
0x64692b Parse::function_decl(bool)
    ../../gcc/go/gofrontend/parse.cc:2355
0x647343 Parse::program()
    ../../gcc/go/gofrontend/parse.cc:5689
0x60ede1 go_parse_input_files(char const**, unsigned int, bool, bool)
    ../../gcc/go/gofrontend/go.cc:73
0x60accf go_langhook_parse_file
    ../../gcc/go/go-lang.c:304

gofrontend is on commit 81810917af7ba19e1f9f8efc8b1989f7d6419d30

@dvyukov
Copy link
Member Author

dvyukov commented Aug 25, 2015

@ianlancetaylor

@ianlancetaylor ianlancetaylor added this to the Gccgo milestone Aug 25, 2015
@gopherbot
Copy link
Contributor

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

@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