Skip to content

cmd/compile: OpInlMark can get removed by SSA dead code elimination, resulting in invalid inlining trees #54625

@mdempsky

Description

@mdempsky

See discussion at #46234.

The immediate issue is that https://go.dev/play/p/OikFLBmKguY?v=gotip causes the loop at

to never terminate, because the inlining "tree" has cycles.

The bigger issue is that we're generating trees like this for kube-apiserver, and this is presumably the root cause of #54593.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    Status

    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions