www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17464] New: ICE in cg87.c on arithmetic expression with real

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

          Issue ID: 17464
           Summary: ICE in cg87.c on arithmetic expression with real
                    numbers
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: gassa mail.ru

Code:
-----
void fun ()
{
    auto a = new int [1];
    real v = a[0] * 1.0 / (a[0] ^^ 2);
}
-----

Result with dmd 2.074.1 -m32/-m64 on Windows:
-----
Internal error: ddmd\backend\cg87.c 300
-----

--
Jun 02