From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22100 invoked by alias); 1 Dec 2008 12:50:56 -0000 Received: (qmail 21565 invoked by uid 48); 1 Dec 2008 12:49:36 -0000 Date: Mon, 01 Dec 2008 12:50:00 -0000 Message-ID: <20081201124936.21564.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: "rguenth at gcc dot gnu dot org" 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: 2008-12/txt/msg00044.txt.bz2 ------- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-01 12:49 ------- As I said, for the first case we optimize away the promotions before the warning code comes along. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38341