From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5205 invoked by alias); 11 Jun 2010 10:57:31 -0000 Received: (qmail 5164 invoked by uid 48); 11 Jun 2010 10:57:21 -0000 Date: Fri, 11 Jun 2010 10:57:00 -0000 Message-ID: <20100611105721.5163.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/44500] [C++0x] Bogus narrowing conversion error 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: 2010-06/txt/msg01272.txt.bz2 ------- Comment #1 from manu at gcc dot gnu dot org 2010-06-11 10:57 ------- I wonder what the C++ standard said because we have the same issue in Wconversion and Joseph rejected my patch arguing that the operation was done in the larger type, so there was a narrowing conversion. I still believe that we should not warn for T = T op T, when T is the same type all the time. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44500