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

ag0ae...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0ae...@gmail.com

--- Comment #4 from ag0ae...@gmail.com ---
(In reply to Seb from comment #2)
> I wonder whether this has something to do with DUB (probably not).
> 
> 1) Can you reproduce the same with just running DMD? (I couldn't on my
> machine)
> 
> 
> ---
> dmd -release -run - <<EOF
[...]
> ---

You're missing `-O -inline`. DUB's release mode implies them.

> 2) Did you check whether it's maybe something with your standard library?
> A simple check would be to try including core.bitop.bt in your file:
> 
> https://github.com/dlang/druntime/blob/master/src/core/bitop.d#L270

Same behavior.

--

Reply via email to