SIGN IN SIGN UP
golang / go UNCLAIMED

The Go programming language

0 0 323 Go

cmd/internal/obj/arm: set spadj in arm32 tailcall

In the normal case spadj is not needed because ARET handles the frame pop
and return in a single instruction. However, if the ARET is a tailcall then
there will be a second instruction where the pcsp stack depth is
incorrect.

Fixes #78021

Change-Id: I20db57eee03945a369a4b185b8f3311f4accd7ae
GitHub-Last-Rev: 7226e2e07472549954ca9771b4f528e208703953
GitHub-Pull-Request: golang/go#78022
Reviewed-on: https://go-review.googlesource.com/c/go/+/752881
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
T
Thea Heinen committed
59b188cee2cdf522b621d1ee72c811fcd46e22b2
Parent: 23fde5c
Committed by Keith Randall <khr@golang.org> on 3/11/2026, 3:49:32 AM