Skip to content

cmd/compile: panic during merge conditional branches #78107

Closed

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/misc" && test == "" && goarch == "arm" && goos == "linux"

Issue created automatically to collect these failures.

Example (log):

FAIL	golang.org/x/tools/gopls/internal/test/integration/misc [build failed]
# golang.org/x/tools/gopls/internal/test/integration/misc [golang.org/x/tools/gopls/internal/test/integration/misc.test]
internal/test/integration/misc/rename_test.go:190:2: internal compiler error: 'TestRenamePackageWithConflicts.func1': panic during merge conditional branches while compiling TestRenamePackageWithConflicts.func1:

runtime error: invalid memory address or nil pointer dereference

goroutine 66 [running]:
cmd/compile/internal/ssa.Compile.func1()
	cmd/compile/internal/ssa/compile.go:49 +0x7c
panic({0x14cc494, 0x1550a60})
...
cmd/compile/internal/ssa.Compile(0x9508008)
	cmd/compile/internal/ssa/compile.go:97 +0xe70
cmd/compile/internal/ssagen.buildssa(0x6cb03c8, 0x1, 0x0)
	cmd/compile/internal/ssagen/ssa.go:595 +0x3004
cmd/compile/internal/ssagen.Compile(0x6cb03c8, 0x1, 0x0)
	cmd/compile/internal/ssagen/pgen.go:304 +0x88
cmd/compile/internal/gc.compileFunctions.func2()
	cmd/compile/internal/gc/compile.go:177 +0xa0
created by cmd/compile/internal/gc.compileFunctions in goroutine 1
	cmd/compile/internal/gc/compile.go:163 +0xc4

— watchflakes

Activity

  1. gopherbot commented on Mar 12, 2026

    @gopherbot
    ContributorAuthor

    Found new dashboard test flakes for:

    #!watchflakes
    default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/misc" && test == ""
    
    2026-03-12 03:16 x_tools-gotip-linux-arm tools@24a8e95f go@26d5e160 x/tools/gopls/internal/test/integration/misc (log)
    FAIL	golang.org/x/tools/gopls/internal/test/integration/misc [build failed]
    # golang.org/x/tools/gopls/internal/test/integration/misc [golang.org/x/tools/gopls/internal/test/integration/misc.test]
    internal/test/integration/misc/rename_test.go:190:2: internal compiler error: 'TestRenamePackageWithConflicts.func1': panic during merge conditional branches while compiling TestRenamePackageWithConflicts.func1:
    
    runtime error: invalid memory address or nil pointer dereference
    
    goroutine 66 [running]:
    cmd/compile/internal/ssa.Compile.func1()
    	cmd/compile/internal/ssa/compile.go:49 +0x7c
    panic({0x14cc494, 0x1550a60})
    ...
    cmd/compile/internal/ssa.Compile(0x9508008)
    	cmd/compile/internal/ssa/compile.go:97 +0xe70
    cmd/compile/internal/ssagen.buildssa(0x6cb03c8, 0x1, 0x0)
    	cmd/compile/internal/ssagen/ssa.go:595 +0x3004
    cmd/compile/internal/ssagen.Compile(0x6cb03c8, 0x1, 0x0)
    	cmd/compile/internal/ssagen/pgen.go:304 +0x88
    cmd/compile/internal/gc.compileFunctions.func2()
    	cmd/compile/internal/gc/compile.go:177 +0xa0
    created by cmd/compile/internal/gc.compileFunctions in goroutine 1
    	cmd/compile/internal/gc/compile.go:163 +0xc4
    

    — watchflakes

  2. added
    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
    ToolsThis label describes issues relating to any tools in the x/tools repository.
    goplsIssues related to the Go language server, gopls.
    on Mar 12, 2026
  3. added this to the Unreleased milestone on Mar 12, 2026
  4. changed the title [-]x/tools/gopls/internal/test/integration/misc: unrecognized failures[/-] [+]cmd/compile: panic during merge conditional branches[/+] on Mar 12, 2026
  5. added
    compiler/runtimeIssues related to the Go compiler and/or runtime.
    and removed
    goplsIssues related to the Go language server, gopls.
    on Mar 12, 2026
  6. cherrymui commented on Mar 18, 2026

    @cherrymui
    Member

    There was a region of commits that the linux-arm builder is bad. This falls into that region. Probably fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions