From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11711 invoked by alias); 15 Jul 2009 07:55:00 -0000 Received: (qmail 11630 invoked by uid 48); 15 Jul 2009 07:54:47 -0000 Date: Wed, 15 Jul 2009 07:55:00 -0000 Message-ID: <20090715075447.11629.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/40752] -Wconversion: do not warn for operands not larger than target type In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "photon at seznam dot cz" 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-07/txt/msg01233.txt.bz2 ------- Comment #7 from photon at seznam dot cz 2009-07-15 07:54 ------- (In reply to comment #5) > Then, let's keep this around as an enhancement request. > I think this is actually a bug as the specification of the warning is: Warn for implicit conversions that may alter a value. This is not the case here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752