https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83302
Bug ID: 83302
Summary: i386 stack_probe has side effects
Product: gcc
Version: 7.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: coypu at sdf dot org
Target Milestone: ---
stack_probe on x86 is "or 0 offset(%rsp)".
it's not a no-op because it isn't atomic.
Related:
https://github.com/golang/go/issues/20427
https://lkml.org/lkml/2017/11/10/188
https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/