www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23227] New: DMD compiler can't be built without RTTI


          Issue ID: 23227
           Summary: DMD compiler can't be built without RTTI
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

Before the switchover from C++, it was possible to build DMD with the flags:

    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables

Since the change to D, it now only works to build with:

    -fno-exceptions -fasynchronous-unwind-tables

Likely this is the compiler making use of certain feature that result in
lowering that invoke `typeid()`. Ideally the compiler should not be doing this.

Jul 01 2022