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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 31 05:48:08 UTC 2019


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 at puremagic.com
          Reporter: n8sh.secondary at 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.

--


More information about the Digitalmars-d-bugs mailing list