[Issue 17315] Assigning a delegate to a function compiles but causes segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 18 08:44:31 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I cannot reproduce this. It compiles and runs successfully. When you are taking
the address of _load the currently returns a function pointer (set to the
actual code of the function in the .text section). This behavior is reported as
being a bug in previous bug reports (such as
https://issues.dlang.org/show_bug.cgi?id=3720). So, since the segfault no
longer manifests, this bug report is resolved.

--


More information about the Digitalmars-d-bugs mailing list