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

           Summary: assert on wrong code (double to long to int
                    conversion)
           Product: D
           Version: 2.031
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: ac...@free.fr


void f1()
{
  double d;
  int c = cast(long)(d);
}

produces : 
dmd: mtype.c:1554: uinteger_t Type::sizemask(): Assertion `0' failed.

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

Reply via email to