www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: deewiant 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.


-- 
Nov 18 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=552


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla digitalmars.com  2007-01-03 22:04 -------
Fixed DMD 1.00


-- 
Jan 03 2007