On Fri, 20 Oct 2023, Florian Weimer wrote:

> 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-4.c: New.
>       * gcc.dg/Wincompatible-pointer-types-5.c: New.
>       * gcc.dg/Wincompatible-pointer-types-6.c: New.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to