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

           Summary: Function imports in debug blocks crashes compiler
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2011-07-12 
17:12:17 PDT ---
module dmd_crash;

void main()
{
    debug
    {
        import std.math;
        FloatingPointControl fpc;
        fpc.enableExceptions(FloatingPointControl.severeExceptions);
    }    
}

> dmd -debug dmd_crash.d

---------------------------
dmd.exe - Application Error
---------------------------
The instruction at "0x00406be3" referenced memory at "0x00000030". The memory
could not be "read".


Click on OK to terminate the program
Click on CANCEL to debug the program
---------------------------
OK   Cancel   
---------------------------

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

Reply via email to