From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2901 invoked by alias); 21 Dec 2007 05:10:53 -0000 Received: (qmail 2891 invoked by uid 22791); 21 Dec 2007 05:10:52 -0000 X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 21 Dec 2007 05:10:43 +0000 Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J5a9h-0004Ji-B3 for gcc@gnu.org; Fri, 21 Dec 2007 00:10:41 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1J5a9f-0001ow-8D for gcc@gnu.org; Fri, 21 Dec 2007 00:10:41 -0500 Received: from dsl254-083-208.nyc1.dsl.speakeasy.net ([216.254.83.208] helo=oak.schemamania.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J5a9f-0001os-1J for gcc@gnu.org; Fri, 21 Dec 2007 00:10:39 -0500 Received: by oak.schemamania.org (Postfix, from userid 1012) id 7E38F50D42; Fri, 21 Dec 2007 00:10:38 -0500 (EST) Received: from oak.schemamania.org (localhost [127.0.0.1]) by oak.schemamania.org (Postfix) with SMTP id 3F64C50BEE for ; Fri, 21 Dec 2007 00:10:38 -0500 (EST) Date: Fri, 21 Dec 2007 05:28:00 -0000 From: "James K. Lowden" To: gcc@gnu.org Subject: Re: -Wparentheses lumps too much together Message-Id: <20071221001038.71ef6ec3.jklowden@freetds.org> In-Reply-To: References: <20071219200235.GA21525@oak.schemamania.org> <20071220005030.4971a442.jklowden@freetds.org> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386--netbsdelf) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.92.8 X-detected-kernel: by monty-python.gnu.org: NetBSD 1.6Z or 2.0 (DF) Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00642.txt.bz2 Ian Lance Taylor wrote: > A typical true positive looked more or less like > > if (a && > b || c) http://www.jetcafe.org/jim/c-style.html It's funny you should mention that. A warning about whitespace indentation that's inconsistent with the expressed logic *would* be helpful (and consistent with the if/else part of -Wparentheses). --jkl