[Bug c/106537] GCC doesn't support -W[no-]compare-distinct-pointer-types

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 5 15:38:47 GMT 2022


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Keywords|                            |diagnostic

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> This option is used in the kernel source tree for some BPF programs.

Why not fix the sources? Seems not hard to add a cast or two.


More information about the Gcc-bugs mailing list