Bug 6807 – Internal error: ../ztc/cg87.c 879 during optimization

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2011-10-12T13:51:00Z
Last change time
2011-12-16T13:59:28Z
Assigned to
nobody
Creator
jcrapuchettes

Attachments

IDFilenameSummaryContent-TypeSize
1039test2.dTest case filetext/x-dsrc601

Comments

Comment #0 by jcrapuchettes — 2011-10-12T13:51:09Z
Created attachment 1039 Test case file The attached code will cause DMD 2.054 and 2.055 to have an internal error when compiled with `dmd test2.d -O`. The internal error happens after the semantic passes and after, when compiled with -v, dmd reports "function createBase". Thanks to DustMite for reducing the code from 4k lines.
Comment #1 by jcrapuchettes — 2011-12-16T13:59:28Z
Appears there was a fix in 2.057. Thank you!