clang tautology

Dimitry Andric dim at FreeBSD.org
Tue May 29 06:46:33 UTC 2012


On 2012-05-29 04:49, Randy Bush wrote:> trying a clang buildworld and get a bunch of
> 
> /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md:4249:29: warning: self-comparison always evaluates to false [-Wtautological-compare]
>         && (TARGET_64BIT || DImode != DImode))
>                                    ^
> 12 warnings generated.
> 
> does not seem harmful, but cosmetically poor

These are all warnings in gcc code that can be safely ignored.  They
will (most likely) never be fixed.  If you're bothered a lot by them, we
could crank down WARNS= for the gcc builds.


More information about the freebsd-stable mailing list