Bug 8168 – dmd crashes when asm statement with wrong opcode

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-05-30T08:08:00Z
Last change time
2012-05-30T18:44:10Z
Assigned to
nobody
Creator
kekeniro2

Comments

Comment #0 by kekeniro2 — 2012-05-30T08:08:37Z
When building the following code, then DMD2.059 crashes after compile error. void main() { asm { unknown; // wrong opcode } } DMD2.058 does not reproduce. environment: Windows XP SP3 32bit D2.059
Comment #1 by github-bugzilla — 2012-05-30T18:39:56Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/65c7bb6192db5bf2170df02492d37a0f5742106b fix Issue 8168 - dmd crashes when asm statement with wrong opcode