gccgo: internal compiler error in do_get_backend
dvyukov opened this issue · 2 comments
dvyukov commented
gccgo crashes on the following input:
package a
type p[[]{}]p
go1: internal compiler error: in do_get_backend, at go/gofrontend/expressions.cc:3327
0x5f1272 Type_conversion_expression::do_get_backend(Translate_context*)
../../gcc/go/gofrontend/expressions.cc:3327
0x5f9d29 Struct_construction_expression::do_get_backend(Translate_context*)
../../gcc/go/gofrontend/expressions.cc:11698
0x671324 Type::make_type_descriptor_var(Gogo*)
../../gcc/go/gofrontend/types.cc:1267
0x6714f6 Type::type_descriptor_pointer(Gogo*, Location)
../../gcc/go/gofrontend/types.cc:1156
0x6207ad Named_object::get_backend(Gogo*, std::vector<Bexpression*, std::allocator<Bexpression*> >&, std::vector<Btype*, std::allocator<Btype*> >&, std::vector<Bfunction*, std::allocator<Bfunction*> >&)
../../gcc/go/gofrontend/gogo.cc:7110
0x626912 Gogo::write_globals()
../../gcc/go/gofrontend/gogo.cc:1345
gcc version 6.0.0 2015070 (experimental) (GCC)
dvyukov commented
gopherbot commented
CL https://golang.org/cl/12792 mentions this issue.