https://issues.dlang.org/show_bug.cgi?id=23227
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: [email protected]
Reporter: [email protected]
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.
--