https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105435
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|diagnostic | Summary|Wtautological-constant-comp |clang warning about |are warning in trunk build |Wtautological-constant-comp | |are for a target macro --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The easiest fix is to change: if (TARGET_ARM_FP) To: if (TARGET_ARM_FP != 0) But then again clang maybe should not warn when this is coming from a macro.