[Bug c/81484] incorrect -Wint-in-bool-context warning

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 19 12:49:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81484

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
...which could be simply written as:

void
foo (int c)
{
  if (c == 0)
    __builtin_abort ();
}


More information about the Gcc-bugs mailing list