https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67819
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- Sorry if this has been discussed before, but can't you use linemap_location_from_macro_expansion_p to check whether the conditional contains a macro expansion, and to inhibit the warning if so?