Cryptic bug for DMD v2.087.x
Petar
Petar
Wed Aug 14 20:10:00 UTC 2019
On Wednesday, 14 August 2019 at 12:47:37 UTC, Peter Jacobs wrote:
>
> [..]
> The compiler should not be trying to execute an illegal
> instruction, anyway, so that seems to be a good target for
> dustmite's experiments.
> [..]
What actually happens is that the compiler has reached an
assert(0) statement which on x86 is implemented as UD2 or HLT
instruction as a efficient way to signal that an unreachable part
of the program has been reached (likely as a result of an
unhandled case).
More information about the Digitalmars-d
mailing list