CTFE difference between dmd and ldc2

Joseph Rushton Wakeling via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 27 10:04:41 PST 2016


On Tuesday, 27 December 2016 at 17:56:07 UTC, Stefan Koch wrote:
> I doubt that this is a CTFE bug since there should be little 
> difference in the ctfe code between ldc and dmd.
> That said, it is of course a possibility.
>
> I'll have a look.

Thanks!  It's very weird how, of the values in the `state` 
variable, one winds up being set correctly and the others are all 
zero.  That might suggest that the `state` variable _is_ being 
set correctly and then something else is happening that zeroes 
out most of the values ... ?


More information about the Digitalmars-d-learn mailing list