https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86843
Bug ID: 86843 Summary: Allow separating debug mode into ABI-changing part and rest Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fiesh at zefix dot tv Target Milestone: --- Right now, the debug mode changes the ABI. Thus everything that is linked, including libraries, needs to be compiled using debug mode, making it more difficult to use. It would be great if there were separate defines for activating the ABI changing parts as well as everything not changing the ABI (but possibly violating complexity guarantees, for example). The latter would probably be suitable for almost all debug builds of projects using libstd++.