Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2012 08:46:31 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: clang tautology
Message-ID:  <4FC470C7.5080700@FreeBSD.org>
In-Reply-To: <m2ehq3snv5.wl%randy@psg.com>
References:  <m2ehq3snv5.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC470C7.5080700>