January 24, 2021 [Issue 21578] New: core.atomic.atomicFetchSub for pointers incorrectly calls wrong function from core.internal.atomic | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21578 Issue ID: 21578 Summary: core.atomic.atomicFetchSub for pointers incorrectly calls wrong function from core.internal.atomic Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: druntime Assignee: nobody@puremagic.com Reporter: petar.p.kirov@gmail.com Likely due to a copy-paste bug `core.atomic.atomicFetchSub` wrongly calls `core.internal.atomic.atomicFetchAdd` instead of `core.internal.atomic.atomicFetchSub`. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply