> reproduce it on your system by using a 32 bits compiler Yes, initially I had the hope that I could reproduce it with --compileOnly:on and --cpu:i386 but that works fine on my 64 bit box.
I was going to delete my 64 bit Nim and install a 32 bit version, but that is a lot of work and I may still not be able to reproduce the issue. And I initially assumed that I should be able to get the same issue when I use a 64 bit enum on my box and set a enum value to low(int64). But for that I get no issue again. So maybe only real solution for a test is to buy on ebay a 20 years old 32 bit hardware. (I had that 15 years ago, but never assumed that I would need it again.)