This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3.4] Warn for always-false bitwise ands


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]