www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19924] New: Make core.bitop.bswap(ulong) work in betterC

https://issues.dlang.org/show_bug.cgi?id=19924

          Issue ID: 19924
           Summary: Make core.bitop.bswap(ulong) work in betterC
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

Right now `bswap(ulong)` does not work in betterC when compiling with DMD. (It
works when compiling with LDC because LDC treats both `bswap(uint)` and
`bswap(ulong)` as intrinsic functions.) In the long run all functions in
core.bitop probably should either be made into template functions or
intrinsics.

--
May 30 2019