-
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.arch-loong64Issues solely affecting the loongson architecture.Issues solely affecting the loongson architecture.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
$ gotip version
go version devel go1.22-088f953 Mon Aug 7 06:58:18 2023 +0000 linux/amd64
The (unreasonably) big function linked at the bottom of this post triggers an internal compiler error when built for GOARCH=loong64
:
$ GOARCH=loong64 gotip build crash.go
# command-line-arguments
./crash.go:22:5: 16 bit-width, short branch too far
00800 (/home/alberto/crash.go:57) BLTZ R4, 131880
Doesn't crash the compiler on other GOARCHs.
Full reproducer on gist.gihub.com.
cc @golang/loong64
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.arch-loong64Issues solely affecting the loongson architecture.Issues solely affecting the loongson architecture.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Type
Projects
Status
Done