[Issue 17464] New: ICE in cg87.c on arithmetic expression with real numbers

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 2 17:03:31 PDT 2017


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 at puremagic.com
          Reporter: gassa at 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
-----

--


More information about the Digitalmars-d-bugs mailing list