Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: internal error on ppc64le compiling "direct interface" #45344

dr2chase opened this issue Apr 1, 2021 · 1 comment

cmd/compile: internal error on ppc64le compiling "direct interface" #45344

dr2chase opened this issue Apr 1, 2021 · 1 comment


Copy link

@dr2chase dr2chase commented Apr 1, 2021

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

go version devel +9398bda540 Thu Apr 1 10:29:51 2021 -0400 darwin/amd64

Does this issue reproduce with the latest release?

No, only on tip

What did you do?

GOARCH=ppc64le GOOS=linux go build  x.go

where x.go contains:

package x

import (

type T struct {
	a map[int]int

func F(t T) {

What did you expect to see?

Successful compilation

What did you see instead?

# command-line-arguments
./x.go:11:1: internal compiler error: 'F': not lowered: v19, Store SSA PTR STRUCT SSA

This is caused by CL 305672 interacting badly with ppc64 code generation rules.
There's a fix on the way.

Copy link

@gopherbot gopherbot commented Apr 2, 2021

Change mentions this issue: cmd/compile: in expand calls, preserve pointer store type but decompose aggregate args


@gopherbot gopherbot closed this in 5579ee1 Apr 2, 2021
@dmitshur dmitshur added this to the Go1.17 milestone Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants