https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78988
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-01-05 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. The location doesn't look right in C either where GCC prints the following: b.c: In function ‘main2’: b.c:7:7: warning: the address of ‘foo’ will always evaluate as ‘true’ [-Waddres] if (foo && bar && baz) ^~~ b.c:7:11: warning: the address of ‘bar’ will always evaluate as ‘true’ [-Waddress] if (foo && bar && baz) ^~ b.c:7:18: warning: the address of ‘baz’ will always evaluate as ‘true’ [-Waddress] if (foo && bar && baz) ^~