This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 3.4] Warn for always-false bitwise ands
- From: John Levon <levon at movementarian dot org>
- To: "Thomas R. Truscott" <trt at cs dot duke dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 28 Mar 2003 21:11:24 +0000
- Subject: Re: [PATCH 3.4] Warn for always-false bitwise ands
- References: <200303282054.h2SKsZtu018082@larry.cs.duke.edu>
On Fri, Mar 28, 2003 at 03:54:35PM -0500, Thomas R. Truscott wrote:
> http://gcc.gnu.org/ml/gcc-patches/2002-06/msg01523.html
>
> I have used this for a couple years now on a large collection
> of source code and found it to have excellent signal/noise ratio.
Any particular reason you abandoned this patch ?
+ /* Check cases like !flag1 | flag2 */
At least on things like the linux kernel, that's going to be too noisy
regards
john