Skip to content

cmd/compile: "internal compiler error: arg 1 does not dominate" with ssacheck on #44465

Closed
@ALTree

Description

@ALTree
go version go1.15.8 linux/amd64
go version go1.16 linux/amd64
go version devel +d4b2638234 Sat Feb 20 03:54:50 2021 +0000 linux/amd64
package p

func f() {
	var b bool
	if b {
		b = true
	}
l:
	for !b {
		b = true
		goto l
	}
}
$ go tool compile -d=ssa/check/seed crash.go 
crash.go:5:2: internal compiler error: 'f': arg 1 of value v7 = Phi <mem> v1 v7 does not dominate, arg=v7 = Phi <mem> v1 v7

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

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions