www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21578] New: core.atomic.atomicFetchSub for pointers


          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

Jan 24 2021