https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82661
Bug ID: 82661 Summary: internal compiler error: verify_gimple failed for gccgo on sparc64 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: i at jsteward dot moe CC: cmang at google dot com Target Milestone: --- Created attachment 42435 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42435&action=edit dialer.go which caused the problem # v2ray.com/core/transport/internet transport/internet/dialer.go: In function ‘internet.DialSystem’: transport/internet/dialer.go:54:1: error: non-trivial conversion at assignment func DialSystem(ctx context.Context, src net.Address, dest net.Destination) (net.Conn, error) { ^ struct Conn struct Conn RESULT.262.UNNAMED = $ret45; transport/internet/dialer.go:54:1: internal compiler error: verify_gimple failed 0x908143 verify_gimple_in_seq(gimple*) ../../gcc/gcc/tree-cfg.c:5063 0x611d67 gimplify_body(tree_node*, bool) ../../gcc/gcc/gimplify.c:12599 0x6121b7 gimplify_function_tree(tree_node*) ../../gcc/gcc/gimplify.c:12689 0x33fce7 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/gcc/go/go-gcc.cc:3214 0x365f77 Gogo::write_globals() ../../gcc/gcc/go/gofrontend/gogo.cc:1504 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. ----------------------------------------------------- $ gcc -v Using built-in specs. COLLECT_GCC=gccgo COLLECT_LTO_WRAPPER=/opt/gccgo/libexec/gcc/sparc64-unknown-linux-gnu/8.0.0/lto-wrapper Target: sparc64-unknown-linux-gnu Configured with: ../gcc/configure --prefix=/opt/gccgo --enable-languages=c,c++,go --disable-multilib --with-ld=/usr/bin/ld.gold Thread model: posix gcc version 8.0.0 20171022 (experimental) (GCC) The source was cloned from https://github.com/gcc-mirror/gcc . ----------------------------------------------------- The source file that caused the problem (transport/internet/dialer.go) is attached (don't know how to attach the preprocessed source with gccgo; directly with gccgo -E throws tons of errors). The project home page if you're interested: https://github.com/v2ray/v2ray-core