You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@randall77 requested issue #40629 to be considered for backport to the next 1.13 minor release.
This patch:
+++ b/src/cmd/compile/internal/ssa/func.go
@@ -274,6 +274,9 @@ func (f *Func) freeValue(v *Value) {
if len(v.Args) != 0 {
f.Fatalf("value %s still has %d args", v, len(v.Args))
}
+ if v == f.LastDeferExit {
+ println("FREEING THE LASTDEFEREXIT")
+ }
// Clear everything but ID (which we reuse).
id := v.ID
triggers a bunch of times during make.bash. Both 1.14.2 and tip. Looks like we need to fix this for the release - I think we're just getting lucky that we don't stack copy or gc trace such cases normally (stack copy is only likely to happen with an unrecovered panic?), or that the random other instruction's liveness map is correct (or good enough).
@randall77 requested issue #40629 to be considered for backport to the next 1.13 minor release.
The text was updated successfully, but these errors were encountered: