pure is as pure does with LLVM compiler

Dicebot public at dicebot.lv
Mon Jan 13 05:46:24 PST 2014


On Monday, 13 January 2014 at 13:37:05 UTC, Ben Cumming wrote:
> Hi There,
>
> I am playing around CTFE, and I get different compile time
> behavior with the reference compiler (both 64-bit Linux):
>       DMD64 D Compiler v2.064
> and the LLVM compiler:
>       LDC - the LLVM D compiler (37ee99): based on DMD v2.063.2 
> and
> LLVM 3.3

This is the answer. Current LDC is still based on 2.063.2 version 
of frontend. There have been several tweaks in `std.conv` to make 
`to` more pure-friendly between those two releases.


More information about the Digitalmars-d-learn mailing list