From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8699 invoked by alias); 24 Feb 2009 00:43:51 -0000 Received: (qmail 8611 invoked by uid 48); 24 Feb 2009 00:43:41 -0000 Date: Tue, 24 Feb 2009 00:43:00 -0000 Message-ID: <20090224004341.8610.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/38341] Wrong warning comparison of promoted ~unsigned with unsigned In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "michael dot malone at tait dot co dot nz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-02/txt/msg02065.txt.bz2 ------- Comment #9 from michael dot malone at tait dot co dot nz 2009-02-24 00:43 ------- I forgot to mention, if you assign to an intermediate variable, the warning also disappears which is the behaviour I would expect from an explicit cast. -- michael dot malone at tait dot co dot nz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael dot malone at tait | |dot co dot nz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38341