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

           Summary: Destruction of uninitialized temporary struct with
                    assert
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: c...@benjamin-thaut.de


--- Comment #0 from Benjamin Thaut <c...@benjamin-thaut.de> 2012-07-08 06:39:10 
PDT ---
Created an attachment (id=1123)
repro case

When a temporary struct is used as the second argument to assert, and the
assert is false, the temporary struct gets destructed despite the fact that it
was never actually constructed. See attached repro case.

Tested with dmd 2.058 and dmd.2059

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

Reply via email to