fabs not being inlined?
NaN
divide at by.zero
Fri Feb 8 09:15:12 UTC 2019
On Thursday, 7 February 2019 at 23:50:10 UTC, David Nadlinger
wrote:
> On 7 Feb 2019, at 23:26, NaN via digitalmars-d-ldc wrote:
>> Is there something I need to do to get fabs() inlined?
>
> Try -enable-cross-module-inlining, or use link-time
> optimization. If there isn't already, we should probably create
> a tracker bug for making sure we fix inlining for these,
> whether by switching cross-module inlining on by default again,
> or implementing/adding `pragma(inline, true)` to all the math
> shims.
>
> — David
Ok spoke to soon, went to bed after just testing it on godbolt,
but if I add that to my project the exe just hangs, opens a
command window but nothing else. Is there any point we trying to
figure out why or is it a known problem?
More information about the digitalmars-d-ldc
mailing list