[Issue 552] New: Internal error: ..\ztc\cg87.c 1327 on in-function modulo of imaginary number

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 18 04:13:29 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=552

           Summary: Internal error: ..\ztc\cg87.c 1327 on in-function modulo
                    of imaginary number
           Product: D
           Version: 0.174
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: deewiant at gmail.com


// 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.


-- 




More information about the Digitalmars-d-bugs mailing list