From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: Suspicious warning in W64 build Date: Fri, 8 Sep 2017 23:20:45 +0100 Message-ID: References: <1017454172.910810.1504618695244@mail.libero.it> <83tw0ezgi1.fsf@gnu.org> <1146932094.13821.1504798935795@mail.libero.it> <83mv66z66p.fsf@gnu.org> <102a4c21-c275-c73e-ec53-0d85975dc968@cs.ucla.edu> <83a825znuf.fsf@gnu.org> <831snhzkgw.fsf@gnu.org> <837ex9x7vf.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1504909348 15755 195.159.176.226 (8 Sep 2017 22:22:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2017 22:22:28 +0000 (UTC) Cc: Paul Eggert , Angelo Graziosi , Emacs Development To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 09 00:22:20 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqRf2-0002vj-A0 for ged-emacs-devel@m.gmane.org; Sat, 09 Sep 2017 00:22:04 +0200 Original-Received: from localhost ([::1]:47499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqRf9-0005Dz-GI for ged-emacs-devel@m.gmane.org; Fri, 08 Sep 2017 18:22:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqReI-0005Dn-OY for emacs-devel@gnu.org; Fri, 08 Sep 2017 18:21:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqReI-0000kx-0Y for emacs-devel@gnu.org; Fri, 08 Sep 2017 18:21:18 -0400 Original-Received: from mail-ua0-x234.google.com ([2607:f8b0:400c:c08::234]:35134) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqReG-0000jg-Lu; Fri, 08 Sep 2017 18:21:16 -0400 Original-Received: by mail-ua0-x234.google.com with SMTP id c27so5588104uah.2; Fri, 08 Sep 2017 15:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2rrfv+n04K7HjmaT3y3QGTmUB7YiC3b4UWk+QR9xqKk=; b=ZnUWVLjMqsFj33MoBfsZFxgArCN31seZ0JEPqHcXueCCmU0PiZOQev/twr1q2Tie74 jw3aRuYPJBLPIQbm3AyuGRYkgcqawO066vfNV17nifyy2Jsm8d1nUQEuFNCEETG5q1v6 z2fgfSNVh1qgBzolPFndYwqXSBmYTeqor5gKCTXuLt4qe+wBZ05ENU2unh2AzjiT7Q3M FuVHWHdzFRIaM2kobgsgYfSba1hh8bSG8i3c5FnCQkgOOgo8QxrRBX+ruu9djJPxC93l baRW1RgwZ7Ebiyj4dPwLG/yh0/qpAtSJOqAghcIHzsJi4P4IR+Js5zo9lzTBGc+0WBwr pJrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2rrfv+n04K7HjmaT3y3QGTmUB7YiC3b4UWk+QR9xqKk=; b=QSY54iBJBntqQw+PUOwKqNHmfVY0d8oooP/CJyjZBX4DbSMsQ6g8nZxtgdGtgYLG1x mzTUK9+M6T931oj+vnGmPGUuxxgpCWqOgdomYgL7IlHquoRXjYsJqq45vb8fEtTKVcLH HHkIvkYo4tNtc7svMp4oMURPEmdDCRBnlIg32aCHASfNRsCyQJgdfOA6mPpUOIyWbzpB Q5HOdsACOtCzi2tLEWnNb0753wHBUC93162THXtb2yAIPG94ft+zmGjXjZEjTKzXyRrW ULvyjMiVstglgG89DiLmEhau4BImunR6zbB4auMmI0C16cWsoqlpMQu3fhPgKsaEwcmu Bbog== X-Gm-Message-State: AHPjjUg8O4v6M236416/eN5rAK+TD2qd+M8JXxroEXPUiiliNk9O+u9k N9GE1plKlYR0jLzkR+f/KB0amINbK9Ay X-Google-Smtp-Source: AOwi7QBnYEG+3zURPsiW9BsL4uT9wAQNltxu+cESwPFYBkj8wSLnYqTJn0WLlBbzLH//gwOGVok6ucnb52abpmcS9Jc= X-Received: by 10.176.17.88 with SMTP id g24mr3142306uac.26.1504909275726; Fri, 08 Sep 2017 15:21:15 -0700 (PDT) Original-Received: by 10.159.41.102 with HTTP; Fri, 8 Sep 2017 15:20:45 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218037 Archived-At: On 8 September 2017 at 22:08, Richard Copley wrote: > On 8 September 2017 at 21:17, Eli Zaretskii wrote: >> The only thing you might be missing is the fact that we passed the >> compiler the -Walloc-size-larger-than=9223372036854775807 option. > > No, I don't think so. That's just the flag that enables that warning, > isn't it? I've read and re-read its documentation and I still don't > see why the warning is correct. The warning is intended for the case > when the argument is always out of range, if I understand correctly. No you're right, thanks. I think I get it. It's not so complicated. We asked the compiler for advice, it took a good guess, and if we give it more information it can do even better.