https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95149
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The code here is correct. In that the warning might be valid for normal code but the comparasion it is making is valid one. Mainly because we do: /* Restore backslash followed by newline. */ BUF_APPEND (base, cur - base); base = cur; BUF_APPEND ("\\", 1);