This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/61258] New: gccgo: assertion failure go-map-delete.c:37
- From: "dvyukov at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 May 2014 18:25:44 +0000
- Subject: [Bug go/61258] New: gccgo: assertion failure go-map-delete.c:37
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61258
Bug ID: 61258
Summary: gccgo: assertion failure go-map-delete.c:37
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
gcc version 4.10.0 20140516 (experimental) (GCC)
The program is:
package main
func main() {
delete(make(map[[0]bool]int), [0]bool{})
}
$ go run -compiler=gccgo crash.go
../../../libgo/runtime/go-map-delete.c:37: libgo assertion failure
Aborted
runtime_sighandler
../../../libgo/runtime/go-signal.c:221
sig_tramp_info
../../../libgo/runtime/go-signal.c:412
__go_assert_fail
../../../libgo/runtime/go-assert.c:18
__go_map_delete
../../../libgo/runtime/go-map-delete.c:37
main.main
/tmp/crash.go:3
runtime_main
../../../libgo/runtime/proc.c:562