From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14982 invoked by alias); 20 May 2014 18:25:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 14942 invoked by uid 48); 20 May 2014 18:25:46 -0000 From: "dvyukov at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/61258] New: gccgo: assertion failure go-map-delete.c:37 Date: Tue, 20 May 2014 18:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dvyukov at google dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg01758.txt.bz2 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