www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15603] New: ICE in cgxmm.c 647

https://issues.dlang.org/show_bug.cgi?id=15603

          Issue ID: 15603
           Summary: ICE in cgxmm.c 647
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: b2.temp gmx.com

import std.stdio;
import std.math;

void main()
{
    T cfloor(T)(T x)
    {
        return floor(x.re)+floor(x.im)*1i;
    }
    (1+1i-cfloor(1+1i)).writeln; // OK
}
Jan 24