Skip to content

gccgo: internal compiler error: in gen_reg_rtx, at emit-rtl #56113

Closed
@ALTree

Description

@ALTree
$ 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

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions