https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64999
--- Comment #16 from Ian Lance Taylor <ian at airs dot com> --- Back in comment #9 I was trying to suggest that runtime.Callers should adjust the PC that it returns to Go code. That seems simpler and should have the same effect as your patch.