[Issue 5517] SEGV: assert(false) in release mode
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Jun 27 22:17:58 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=5517
--- Comment #14 from Shachar Shemesh <shachar at shemesh.biz> ---
(In reply to Jonathan M Davis from comment #13)
> Either way, it's killing the program like it's supposed to.
But it is not printing the message.
Yes, I think the spec is wrong (and, at least when opening a new bug, Bugzilla
is directing me to use this category, of bugs in the compiler, to report minor
problems with the spec), but that is not the core of this issue, and not the
reason I reopened it.
The core of this issue is that "assert(false, "message")" is defined by the
spec to print the message and abort even in release mode. In practice, it
aborts (in an incorrect way, IMHO), but does not print the message.
And this is a bug in the compiler.
Shachar
--
More information about the Digitalmars-d-bugs
mailing list