https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64238
Bug ID: 64238 Summary: ICE in get_partitioning_class, at symtab.c:1775 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: d.g.gorbachev at gmail dot com GCC 5.0.0 20141207 (experimental). $ gccgo -S -flto -o bytes.s bytes.go bytes_decl.go go1: internal compiler error: in get_partitioning_class, at symtab.c:1775 0x84fac84 symtab_node::get_partitioning_class() ../../gcc-5/gcc/symtab.c:1775 0x8816309 lto_output_varpool_node ../../gcc-5/gcc/lto-cgraph.c:630 0x881726f output_symtab() ../../gcc-5/gcc/lto-cgraph.c:1005 0x882bc81 lto_output() ../../gcc-5/gcc/lto-streamer-out.c:2311 0x888ac39 write_lto ../../gcc-5/gcc/passes.c:2388 0x888ae42 ipa_write_summaries_1 ../../gcc-5/gcc/passes.c:2451 0x888b094 ipa_write_summaries(bool) ../../gcc-5/gcc/passes.c:2511 0x851066a ipa_passes ../../gcc-5/gcc/cgraphunit.c:2091 0x851099a symbol_table::compile() ../../gcc-5/gcc/cgraphunit.c:2187 0x8510cbc symbol_table::finalize_compilation_unit() ../../gcc-5/gcc/cgraphunit.c:2340 0x83d7b13 Gcc_backend::write_global_definitions(std::vector<Btype*, std::allocator<Btype*> > const&, std::vector<Bexpression*, std::allocator<Bexpression*> > const&, std::vector<Bfunction*, std::allocator<Bfunction*> > const&, std::vector<Bvariable*, std::allocator<Bvariable*> > const&) ../../gcc-5/gcc/go/go-gcc.cc:3002 0x83e7bef Gogo::write_globals() ../../gcc-5/gcc/go/gofrontend/gogo.cc:1437 0x83e26dd go_write_globals() ../../gcc-5/gcc/go/gofrontend/go.cc:146 0x83da8fc go_langhook_write_globals ../../gcc-5/gcc/go/go-lang.c:444