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: Thu, 7 Sep 2017 18:52:35 +0100 Message-ID: References: <1017454172.910810.1504618695244@mail.libero.it> <83tw0ezgi1.fsf@gnu.org> <1146932094.13821.1504798935795@mail.libero.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1504806867 31412 195.159.176.226 (7 Sep 2017 17:54:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2017 17:54:27 +0000 (UTC) Cc: Eli Zaretskii , Emacs Development To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 07 19:54:12 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 1dq10A-0007Ym-IY for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2017 19:54:06 +0200 Original-Received: from localhost ([::1]:41555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq10H-00075y-RL for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2017 13:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq0zN-0006d5-O7 for emacs-devel@gnu.org; Thu, 07 Sep 2017 13:53:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dq0zJ-0007tk-5V for emacs-devel@gnu.org; Thu, 07 Sep 2017 13:53:17 -0400 Original-Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:33864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dq0zD-0007rs-Or; Thu, 07 Sep 2017 13:53:07 -0400 Original-Received: by mail-vk0-x22b.google.com with SMTP id o22so686411vke.1; Thu, 07 Sep 2017 10:53:06 -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=gI55ZeeffDBDxfgsbuR1D3Q8NbDCE0TrlsonVWAjWy0=; b=X9Wy6tQA4tGHq2evODHGRz8R7M0pfNaaXprqIhPEp34+kxRlj0/l+4jves/+io95eU Js70ss1fMNbfJ9J3efhlU1Yg3SRq0gnC7jTSzgLmXVdgFCUpNzc56l0JmZOl9+LH5Iwh 4HLsXkSCiqzs/okkOMH6sglCEjLwOv9oCqcrQlyN5bnMAVNqr7XR8cKxLyzlEsV1jiTZ 7wOpFbh6qpjA+ZxiTUOSq4xqr0Dr1dy5qlmTD1FFC4DjXyDq7pJrGOVIiAs0OGFS5wSA 67FvVlkHnSJBI6lCn1WTPBCf1IkaGHBs9CZboNhxZQxKAG+9U2LefYo8HdM7WIEjtHHq dmoQ== 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=gI55ZeeffDBDxfgsbuR1D3Q8NbDCE0TrlsonVWAjWy0=; b=H4OIi0Df23p3j1GzzDe3y18ENDuFOPSuZJTlJbn87+olRzqyFG3g0tOs+acvwERSqz YfSJXF7medxeI1Xzy8rzNrKcoNsenVqxapryOzuoZEqxefDdzvzoIL6ez1i1x7dZLvnS pKNZ1TPAkpd+sFYXe1fuhMlmAonyNf1MnHSjx1lplVWKfsA7ZSkOmT0l6mMP+aQg3Oeq xxUl0rJ+gFGSNRcLxL5jYhO4NmvLVFZAVAjIQMMdP1IfHZuq2hfHitcVqzG3cRiuKNMb xbBVQvvfwsY5oG52YRTeL1i4EkhJ52Ac6Z3f2irHQuniZtN2uAfGfq0bsmpTBoRpkiXl xM8g== X-Gm-Message-State: AHPjjUhb+KKHilQvHMSMIeUF7wSraiyxoE4ruElxvTk9imkW0ejv/vhv LFV22ffsgiZSYKxjt3688dv4ibfiTA== X-Google-Smtp-Source: AOwi7QDxS8+Fo+q8ZkAxgvwhgr3sgbSeF909i3Hzeg+Sn1CeSwgHlnQPbGO8A8velH28JcpvpMpkXf1+j7Mjw1f+39U= X-Received: by 10.31.165.196 with SMTP id o187mr69802vke.103.1504806785538; Thu, 07 Sep 2017 10:53:05 -0700 (PDT) Original-Received: by 10.176.81.167 with HTTP; Thu, 7 Sep 2017 10:52:35 -0700 (PDT) In-Reply-To: <1146932094.13821.1504798935795@mail.libero.it> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c05::22b 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:217986 Archived-At: On 7 September 2017 at 16:42, Angelo Graziosi wrote: >> Il 7 settembre 2017 alle 17.16 Eli Zaretskii ha scritto: >> > Date: Tue, 5 Sep 2017 15:38:15 +0200 (CEST) >> > From: Angelo Graziosi >> > >> > In the log build of current master on MSYS2/MINGW64, I see: >> > >> > [...] >> > CC w32term.o >> > C:/msys64/tmp/src/src/w32font.c: In function 'w32font_text_extents': >> > C:/msys64/tmp/src/src/w32font.c:547:9: warning: argument 1 range [18446744065119617024, 18446744073709551612] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] >> > wcode = alloca (nglyphs * sizeof (WORD) * 2); >> > ^ >> > C:/msys64/tmp/src/src/w32font.c:547:9: note: in a call to built-in allocation function '__builtin_alloca' >> >> Where did it take these 2 numbers? I also see the warning (I use the same toolchain). 18446744065119617024 is 1<<64. The other number is (1<<64) - (1<<33) - (1<<2). That's just crazy. It must be a GCC bug.