Bug 552 – Internal error: ..\ztc\cg87.c 1327 on in-function modulo of imaginary number
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-11-18T06:13:00Z
Last change time
2014-02-15T13:21:52Z
Keywords
ice-on-invalid-code
Assigned to
bugzilla
Creator
matti.niemenmaa+dbugzilla
Comments
Comment #0 by matti.niemenmaa+dbugzilla — 2006-11-18T06:13:29Z
// works
const ireal a = 4i;
ireal b = a % 2;
// internal error
void main() {
ireal a = 4i;
ireal b = a % 2;
}
// works
ireal a = 4i % 2;
I'm flagging this as ice-on-invalid-code due to Issue 551.