[Issue 6096] New: optimizer assert on cdouble to bool conversion

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 3 00:57:03 PDT 2011


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

           Summary: optimizer assert on cdouble to bool conversion
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: r.sagitario at gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario at gmx.de> 2011-06-03 00:52:36 PDT ---
this code:

cdouble c;

int main()
{
    if (c) return 0;
    return 1;
}

compiles with dmd 2.053 unless optimizations are turned on:

c:\tmp>c:\l\dmd-2.053\windows\bin\dmd -O ccmp.d
Internal error: ..\ztc\el.c 904

-- 
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