https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93857
--- Comment #3 from Roland Illig <roland.illig at gmx dot de> --- (In reply to Jakub Jelinek from comment #2) > testsuite/c-c++-common/Wint-in-bool-context.c Thanks for pointing me to the test. My reasoning from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93883#c4 applies here as well. The diagnostics in the test should be as complete as possible, to make the tests tell a self-contained story.