https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120079
Bug ID: 120079
Summary: RFE: -Wp,-dM equivalent for assertions
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: hpa at zytor dot com
Target Milestone: ---
Currently, -Wp,-dM can be used to get all the predefined macros in the
preprocessor, but there is no equivalent to get the C preprocessor assertions,
something like -Wp-dMA which would produce both #define and #assert statements
would allow knowing the full environment for the preprocessor.