Evaluation order of "+="
Johan Engelen via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 12 00:53:08 PDT 2016
On Tuesday, 12 July 2016 at 05:46:58 UTC, Patrick Schluter wrote:
>
> What happens here in LDC is probably that the call is inlined
> and therefore losing the sequence point. That is one of the
> dangers of aggressive inlining.
Going off-topic but briefly: all inlining in LDC happens by LLVM.
With the possibility of LLVM bugs, bugs by inlining are very rare
I'd think.
(in this case, it happens for debug builds (so no inlining) too.)
More information about the Digitalmars-d
mailing list