https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80063
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- As for the warning, we should open an enhancement request, though not sure it is something for -Wmisleading-indentation. I'd say that we just should warn whenever a macro defines several statements and the macro is used as a body of a conditional, so only the first statement from the macro is conditional.