If you set cmd/compile/internal/ssa/compile.go:checkEnabled to true and run all.bash, some tests fail.
cmd/compile/internal/ssa/debug_lines_test.go
TestDebugLinesSayHi
TestDebugLinesPushback
TestDebugLinesConvert
cmd/compile/internal/ssa/stmtlines_test.go
TestStmtLines
I suspect this is the randomization done in cmd/compile/internal/ssa/compile.go when checkEnabled is set.
There is a secondary question here, which is why these tests don't already fail on the ssacheck builder. Maybe the GO_GCFLAGS setting doesn't make it through to the subprocess those tests use?
@dr2chase
If you set
cmd/compile/internal/ssa/compile.go:checkEnabledtotrueand runall.bash, some tests fail.I suspect this is the randomization done in
cmd/compile/internal/ssa/compile.gowhencheckEnabledis set.There is a secondary question here, which is why these tests don't already fail on the ssacheck builder. Maybe the
GO_GCFLAGSsetting doesn't make it through to the subprocess those tests use?@dr2chase