Skip to content

Commit dea1262

Browse files
rscgopherbot
authored andcommitted
cmd/compile/internal/staticinit: remove FIPS debugging
This is panicking on the darwin-amd64-longtest builders. Not sure why, but it was added only to get a stack trace during debugging. If there's still a problem, we should let it proceed and find the real problem. The test that was failing - internal/coverage/cfile - passes with this CL, even when I set GODEBUG=fips140=on, so there's hope that it will fix the longtest builders. Change-Id: I9b3e743effdddcc0a76895922f87631527781dff Reviewed-on: https://go-review.googlesource.com/c/go/+/628375 Reviewed-by: Sam Thanawalla <[email protected]> Auto-Submit: Russ Cox <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent ad6bc88 commit dea1262

File tree

1 file changed

+0
-3
lines changed
  • src/cmd/compile/internal/staticinit

1 file changed

+0
-3
lines changed

src/cmd/compile/internal/staticinit/sched.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -767,9 +767,6 @@ var statuniqgen int // name generator for static temps
767767
func StaticName(t *types.Type) *ir.Name {
768768
// Don't use LookupNum; it interns the resulting string, but these are all unique.
769769
sym := typecheck.Lookup(fmt.Sprintf("%s%d", obj.StaticNamePrefix, statuniqgen))
770-
if sym.Name == ".stmp_0" && sym.Pkg.Path == "crypto/internal/fips/check" {
771-
panic("bad")
772-
}
773770
statuniqgen++
774771

775772
n := ir.NewNameAt(base.Pos, sym, t)

0 commit comments

Comments
 (0)