gccgo: internal compiler error in record_var_depends_on
dvyukov opened this issue · 1 comments
dvyukov commented
gccgo crashes on the following input:
package a
var e,f,f = 0(0
go1: internal compiler error: in record_var_depends_on, at go/gofrontend/gogo.h:486
0x63aca1 Gogo::record_var_depends_on(Variable*, Named_object*)
../../gcc/go/gofrontend/gogo.h:486
0x63aca1 Parse::init_vars_from_call(Typed_identifier_list const*, Type*, Expression*, bool, Location)
../../gcc/go/gofrontend/parse.cc:1741
0x63b03f Parse::init_vars(Typed_identifier_list const*, Type*, Expression_list*, bool, Location)
../../gcc/go/gofrontend/parse.cc:1646
0x644647 Parse::var_spec(void*)
../../gcc/go/gofrontend/parse.cc:1628
0x6376e8 Parse::var_decl()
../../gcc/go/gofrontend/parse.cc:1588
0x648523 Parse::program()
../../gcc/go/gofrontend/parse.cc:5667
0x610411 go_parse_input_files(char const**, unsigned int, bool, bool)
../../gcc/go/gofrontend/go.cc:73
0x60c32f go_langhook_parse_file
../../gcc/go/go-lang.c:304
gcc version 6.0.0 2015070 (experimental) (GCC)
gopherbot commented
CL https://golang.org/cl/13895 mentions this issue.