From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21599 invoked by alias); 14 Jul 2009 20:56:01 -0000 Received: (qmail 21562 invoked by uid 48); 14 Jul 2009 20:55:51 -0000 Date: Tue, 14 Jul 2009 20:56:00 -0000 Message-ID: <20090714205551.21561.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/40752] -Wconversion generates false warnings In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu 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: 2009-07/txt/msg01158.txt.bz2 ------- Comment #2 from manu at gcc dot gnu dot org 2009-07-14 20:55 ------- Andrew, what you say is true, but in this case the warning is not very useful. I'd prefer to warn only when the operator is larger than the target of the assignment. I would like to hear other opinions. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iant at google dot com, manu | |at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752