Skip to content

cmd/compile: recent regression in ppc64x builders: internal compiler error: pointer in non-pointer register g #25504

@laboger

Description

@laboger

What version of Go are you using (go version)?

tip

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

ppc64 & ppc64le

A regression was introduced earlier today which then hid 2 more regressions introduced after which affect the ppc64 & ppc64le builders. The first two were fixed, now seeing this:

--- FAIL: TestCoverpkgAllRuntime (7.07s)
go_test.go:6004: running testgo [test -coverpkg=all x]
go_test.go:6004: standard output:
go_test.go:6004: FAIL x [build failed]

go_test.go:6004: standard error:
go_test.go:6004: # runtime
	../../runtime/proc.go:4101: internal compiler error: pointer in non-pointer register g
	
	goroutine 6 [running]:
	runtime/debug.Stack(0x0, 0x0, 0x0)
		/home/boger/golang/really.plain/go/src/runtime/debug/stack.go:24 +0x94
	cmd/compile/internal/gc.Fatalf(0x81eeca, 0x22, 0xc0049be8e0, 0x1, 0x1)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/subr.go:182 +0x1c8
	cmd/compile/internal/gc.(*ssafn).Fatalf(0xc0077d8e40, 0x10060920000003e, 0x81eeca, 0x22, 0xc0049be8e0, 0x1, 0x1)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/ssa.go:5537 +0x64
	cmd/compile/internal/ssa.(*Value).Fatalf(0xc004065ee0, 0x81eeca, 0x22, 0xc0049be8e0, 0x1, 0x1)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/ssa/value.go:296 +0x7c
	cmd/compile/internal/gc.(*Liveness).regEffects.func1(0x0, 0xc004065ee0, 0x7e6101, 0xc000000020)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/plive.go:446 +0x20c
	cmd/compile/internal/gc.(*Liveness).regEffects(0xc006d845a0, 0xc004066500, 0xffffffff)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/plive.go:462 +0xcc
	cmd/compile/internal/gc.(*Liveness).prologue(0xc006d845a0)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/plive.go:814 +0x108
	cmd/compile/internal/gc.liveness(0xc0077d8e40, 0xc007882580, 0xd)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/plive.go:1714 +0x80
	cmd/compile/internal/gc.genssa(0xc007882580, 0xc006892070)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/ssa.go:4774 +0x78
	cmd/compile/internal/gc.compileSSA(0xc0024deb00, 0x2)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/pgen.go:267 +0x180
	cmd/compile/internal/gc.compileFunctions.func2(0xc0046f1080, 0xc00087bb60, 0x2)
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/pgen.go:309 +0x40
	created by cmd/compile/internal/gc.compileFunctions
		/home/boger/golang/really.plain/go/src/cmd/compile/internal/gc/pgen.go:307 +0x11c
	
	
go_test.go:6004: go [test -coverpkg=all x] failed unexpectedly: exit status 2

FAIL
FAIL cmd/go 139.178s

Assuming this is related to the reg changes that have been just added? @aclements

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions