Your message dated Wed, 30 Nov 2005 08:17:25 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#341345: gcc-4.0: Please warn on impossible && conditionals
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Nov 2005 04:58:40 +0000
>From [EMAIL PROTECTED] Tue Nov 29 20:58:39 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ms-smtp-01.nyroc.rr.com ([24.24.2.55])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EhK3D-0003yt-PA
        for [EMAIL PROTECTED]; Tue, 29 Nov 2005 20:58:39 -0800
Received: from andromeda (cpe-69-202-136-66.twcny.res.rr.com [69.202.136.66])
        by ms-smtp-01.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id 
jAU4waFe010373
        for <[EMAIL PROTECTED]>; Tue, 29 Nov 2005 23:58:37 -0500 (EST)
Received: from pryzbyj by andromeda with local (Exim 4.54)
        id 1EhK39-0001VJ-LC
        for [EMAIL PROTECTED]; Tue, 29 Nov 2005 23:58:35 -0500
Date: Tue, 29 Nov 2005 23:58:35 -0500
To: Debian BTS Submission <[EMAIL PROTECTED]>
Subject: gcc-4.0: Please warn on impossible && conditionals
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
From: Justin Pryzby <[EMAIL PROTECTED]>
X-Virus-Scanned: Symantec AntiVirus Scan Engine
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: gcc-4.0
Version: 4.0.2-4
Severity: wishlist
Tags: upstream

gcc will warn on something like

  char c;
  // ...
  if (c>256) {
  // warning: comparison is always false due to limited range of data type
  // ...
  }

Please consider also warning on things like:

  if (0==c && 1==c)

---------------------------------------
Received: (at 341345-done) by bugs.debian.org; 30 Nov 2005 13:17:29 +0000
>From [EMAIL PROTECTED] Wed Nov 30 05:17:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ms-smtp-02.nyroc.rr.com ([24.24.2.56])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EhRpx-0000Cq-AX
        for [EMAIL PROTECTED]; Wed, 30 Nov 2005 05:17:29 -0800
Received: from andromeda (cpe-69-202-136-66.twcny.res.rr.com [69.202.136.66])
        by ms-smtp-02.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id 
jAUDHPDK020581;
        Wed, 30 Nov 2005 08:17:25 -0500 (EST)
Received: from pryzbyj by andromeda with local (Exim 4.54)
        id 1EhRpt-0007IZ-80; Wed, 30 Nov 2005 08:17:25 -0500
Date: Wed, 30 Nov 2005 08:17:25 -0500
To: Falk Hueffner <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#341345: gcc-4.0: Please warn on impossible && conditionals
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
From: Justin Pryzby <[EMAIL PROTECTED]>
X-Virus-Scanned: Symantec AntiVirus Scan Engine
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Wed, Nov 30, 2005 at 10:01:00AM +0100, Falk Hueffner wrote:
> Justin Pryzby <[EMAIL PROTECTED]> writes:
> 
> > Please consider also warning on things like:
> >
> >   if (0==c && 1==c)
> 
> How would this be different from -Wunreachable-code?
It wouldn't; thanks.

-- 
Clear skies,
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to