[Semi-OT] newCTFE debugging woes

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sun May 28 08:06:29 PDT 2017


Hi Guys,
I just found and worked around a bug in newCTFE.

The tests only showed iasm64.d failing.
And iasm64.d test does not execute ctfe.
On top of that I could not reproduce the failure locally.
I was pretty befuddled.
After two weeks of being confused:

It turned out a bug in newCTFE caused dmd to mis-compile itself.

The following video shows me working around that bug:
https://www.youtube.com/watch?v=gJWx0tgWb8E&feature=youtu.be

Comments welcome.


More information about the Digitalmars-d mailing list