www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23068] New: [betterC] BetterC does not respect

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

          Issue ID: 23068
           Summary: [betterC] BetterC does not respect -checkaction=halt
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: mrsmith33 yandex.ru

Both dmd and ldc try to call `_assert` when -checkaction=halt and -betterC
flags are provided. Without -betterC flag, they correctly generate ud2
instruction.

--
Apr 28 2022