[Issue 23514] Incorrect compilation when adding a 64-bit constant to a link-time address

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 21 14:59:48 UTC 2023


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #14657 "Fix issue 23514 - Incorrect compilation when
adding a 64-bit constant to a link-time address" was merged into stable:

- 9d988bb7c27411232cb3655f674b7e0dc60ffa54 by Zachary Yedidia:
  Fix issue 23514 - Incorrect compilation when adding a 64-bit constant to a
link-time address

  The current cast to int causes a loss of precision, which can result in
  incorrect compilation.

https://github.com/dlang/dmd/pull/14657

--


More information about the Digitalmars-d-bugs mailing list