[Issue 21578] New: core.atomic.atomicFetchSub for pointers incorrectly calls wrong function from core.internal.atomic
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 24 23:16:37 UTC 2021
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 at puremagic.com
Reporter: petar.p.kirov at gmail.com
Likely due to a copy-paste bug `core.atomic.atomicFetchSub` wrongly calls
`core.internal.atomic.atomicFetchAdd` instead of
`core.internal.atomic.atomicFetchSub`.
--
More information about the Digitalmars-d-bugs
mailing list