Skip to content

cmd/compile: internal compiler error with 2 _ labels #70175

@leabit

Description

@leabit

Go version

Go 1.23

Output of go env in your module/workspace:

/

What did you do?

Playground: https://go.dev/play/p/Qjo8Uh4a4eL

package main

func f() {
_:

_:
}

func main() {
	f()
}

What did you see happen?

./prog.go:10:3: internal compiler error: label ~_·1 missing tag

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new

What did you expect to see?

To work without errors.

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions