From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118595 invoked by alias); 23 Jun 2018 21:42:43 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 118572 invoked by uid 89); 23 Jun 2018 21:42:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,SPF_HELO_PASS,SPF_PASS,TVD_RCVD_SPACE_BRACKET autolearn=ham version=3.3.2 spammy=Btw, H*i:sk:5B2E389, H*f:sk:5B2E389 X-HELO: mutluit.com Received: from mutluit.com (HELO mutluit.com) (82.211.8.197) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 23 Jun 2018 21:42:41 +0000 Received: from [37.139.71.2] (ip4d16cd28.dynamic.kabel-deutschland.de [77.22.205.40]:36068) by mutluit.com (s2.mutluit.com [82.211.8.197]:50025) with ESMTP ([XMail 1.27 ESMTP Server]) id for from ; Sat, 23 Jun 2018 23:42:37 +0200 Subject: Re: 1x -Werror=unused-variable happens :-) To: gcc@gcc.gnu.org References: <5B2E3145.8030000@mutluit.com> <5B2E389C.2050000@mutluit.com> From: "U.Mutlu" Message-ID: <5B2EBECD.504@mutluit.com> Date: Sun, 24 Jun 2018 06:13:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 SeaMonkey/2.37a1 MIME-Version: 1.0 In-Reply-To: <5B2E389C.2050000@mutluit.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00250.txt.bz2 U.Mutlu wrote on 06/23/2018 02:10 PM: > Here's another one, but different error type, for further inspection, in the > same library as before: > > ../../../gcc_trunk/libitm/method-ml.cc: In member function 'virtual bool > {anonymous}::ml_wt_dispatch::supports(unsigned int)': > ../../../gcc_trunk/libitm/method-ml.cc:650:35: error: comparison is always > true due to limited range of data type [-Werror=type-limits] > return (number_of_threads * 2 <= ml_mg::OVERFLOW_RESERVE); > ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ > > > Btw, this happens on a x86_64 host/target. Ok, a bugzilla bug report entry for this has just been filed: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86294