-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
$ gccgo --version
gccgo (Debian 12.2.0-3) 12.2.0
package main
type S string
func main() {
m := map[int]int{1: 1}
println(m[len(S(""))])
}
$ gccgo crash.go
go1: internal compiler error: in gen_reg_rtx, at emit-rtl.cc:1199
0x7fc936229209 __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7fc9362292bb __libc_start_main_impl
../csu/libc-start.c:389
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-12/README.Bugs> for instructions.
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.