On Thu, Mar 13, 2025 at 04:11:51PM +0100, Andreas Schwab wrote: > On Mär 13 2025, Richard Biener wrote: > > > The following makes sure to record -D_FORTIFY_SOURCE=n and > > -U_FORTIFY_SOURCE in the DW_AT_producer debuginfo attribute when > > present on the compiler command line. > > Should this also handle defines passed via -Wp?
Yes, that is the common way of doing that (I think from the times when it conflicted with gcj -D option). Jakub