www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20457] New: Asserts must not be turned off in release builds

https://issues.dlang.org/show_bug.cgi?id=20457

          Issue ID: 20457
           Summary: Asserts must not be turned off in release builds of
                    dmd
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

Because the asserts check for compiler bugs. Disabling the checks means
compiler crashes instead, and much worse, corrupt code being generated.

--
Dec 19 2019