[Issue 8454] New: [ICE] (backend\cg87.c 3497) with cdouble and sqrt

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 27 11:06:24 PDT 2012


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

           Summary: [ICE] (backend\cg87.c 3497) with cdouble and sqrt
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2012-07-27 11:06:23 PDT ---
import std.math: sqrt;
void foo(cdouble m) {}
void main() {
    foo(0 - sqrt(1.0) * 1i);
}


DMD 2.060beta gives me (compiled with -O):

Internal error: backend\cg87.c 3497

While it compiles with DMD 2.059, without -O. So I don't know if this is a
regression.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list