[Issue 4541] Intrinsic functions do not have pointers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 16 06:54:39 UTC 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #12 from Dlang Bot <dlang-bot at dlang.rocks> ---
@SixthDot created dlang/dmd pull request #15699 "fix issue 4541 - linker
failure due to AddrExp on intrinsic function" fixing this issue:

- fix issue 4541 - linker failure due to AddrExp on intrinsic function

  The expression results now in a semantic-time error,
  which is the only simple solution.

  DMD Intrinsics map to libc functions, which can give the impression
  that taking the address is possible, but more generally an intrinsic
  can also have for effect to insert platform-specific instructions,
  as seen in LLVM.

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

--


More information about the Digitalmars-d-bugs mailing list