This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/61258] New: gccgo: assertion failure go-map-delete.c:37


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]