https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61265
Bug ID: 61265
Summary: gccgo: ICE in verify_gimple_in_seq [GoSmith]
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: dvyukov at google dot com
Created attachment 32840
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32840&action=edit
reproducer
gcc version 4.10.0 20140516 (experimental) (GCC)
The reproducer is attached (you need to set GOPATH to the root dir).
$ go build -compiler=gccgo main
# b
src/b/0.go: In function 'b.b..import':
src/b/0.go:1:1: error: non-trivial conversion at assignment
package b
^
int16 *[1][0:18446744073709551615][0:18446744073709551615]
int16 *[1][1][1]
D.1019[0] = b.Var868;
src/b/0.go:1:1: internal compiler error: verify_gimple failed
0xa29b2f verify_gimple_in_seq(gimple_statement_base*)
../../gcc/tree-cfg.c:4622
0x83aae4 gimplify_body(tree_node*, bool)
../../gcc/gimplify.c:8720
0x83aee6 gimplify_function_tree(tree_node*)
../../gcc/gimplify.c:8805
0x5c552e 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/go/go-gcc.cc:2889
0x5e3592 Gogo::write_globals()
../../gcc/go/gofrontend/gogo.cc:1292