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: Hans-Peter Nilsson <hp at bitrange dot com>
- To: John Levon <levon at movementarian dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 23 Mar 2003 22:23:24 -0500 (EST)
- Subject: Re: [PATCH 3.4] Warn for always-false bitwise ands
On Fri, 21 Mar 2003, John Levon wrote:
> 2003-03-21 John Levon <levon at movementarian dot org>
>
> * typeck.c (build_binary_op) [BIT_AND_EXPR]:
> Give warning if warn_boolean_bitwise_and.
Common ChangeLog misformatting. "[BIT_AND_EXPR]" means something
different. See GNU coding standards. This should be
> * typeck.c (build_binary_op) <BIT_AND_EXPR>:
> Give warning if warn_boolean_bitwise_and.
or
> * typeck.c (build_binary_op) <case BIT_AND_EXPR>:
> Give warning if warn_boolean_bitwise_and.
brgds, H-P