https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106537
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jose E. Marchesi <jema...@gcc.gnu.org>: https://gcc.gnu.org/g:721f7e2c4e5eed645593258624dd91e6c39f3bd2 commit r14-3470-g721f7e2c4e5eed645593258624dd91e6c39f3bd2 Author: Jose E. Marchesi <jose.march...@oracle.com> Date: Thu Aug 24 17:10:52 2023 +0200 Fix tests for PR 106537. This patch fixes the tests for PR 106537 (support for -W[no]-compare-distinct-pointer-types) which were expecting the warning when checking for equality/inequality of void pointers with non-function pointers. gcc/testsuite/ChangeLog: PR c/106537 * gcc.c-torture/compile/pr106537-1.c: Comparing void pointers to non-function pointers is legit. * gcc.c-torture/compile/pr106537-2.c: Likewise.