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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <f...@gcc.gnu.org>:

https://gcc.gnu.org/g:857a6ee25ff5cbb97715de4dd97e1641285c6085

commit r14-4804-g857a6ee25ff5cbb97715de4dd97e1641285c6085
Author: Florian Weimer <fwei...@redhat.com>
Date:   Fri Oct 20 21:27:52 2023 +0200

    c: -Wincompatible-pointer-types should cover mismatches in ?:

    gcc/c/

            PR c/109826
            PR other/44209
            * c-typeck.cc (build_conditional_expr): Use
            OPT_Wincompatible_pointer_types for pointer mismatches.
            Emit location information for the operand.

    gcc/testsuite/

            * gcc.dg/Wincompatible-pointer-types-2.c: New.
            * gcc.dg/Wincompatible-pointer-types-3.c: New.
            * gcc.dg/Wincompatible-pointer-types-4.c: New.

Reply via email to