From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs 27.0.90 is out! Date: Tue, 03 Mar 2020 18:09:09 +0200 Message-ID: <83blpdxvx6.fsf@gnu.org> References: <87wo814p3a.fsf@petton.fr> <874kv5o8t1.fsf@moondust.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="42124"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, nico@petton.fr To: nljlistbox2@gmail.com (N. Jackson) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 03 17:09:50 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9A7A-000At7-TC for ged-emacs-devel@m.gmane-mx.org; Tue, 03 Mar 2020 17:09:48 +0100 Original-Received: from localhost ([::1]:49514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9A79-0008Gr-VW for ged-emacs-devel@m.gmane-mx.org; Tue, 03 Mar 2020 11:09:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52279) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9A6b-0007lU-IU for emacs-devel@gnu.org; Tue, 03 Mar 2020 11:09:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9A6b-00072F-3R; Tue, 03 Mar 2020 11:09:13 -0500 Original-Received: from [176.228.60.248] (port=3158 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j9A6a-0007Ji-F7; Tue, 03 Mar 2020 11:09:12 -0500 In-Reply-To: <874kv5o8t1.fsf@moondust.localdomain> (nljlistbox2@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245189 Archived-At: > From: nljlistbox2@gmail.com (N. Jackson) > Date: Tue, 03 Mar 2020 08:40:58 -0500 > Cc: Emacs Devel > > Are the -Walloc-size-larger-than= warnings expected? > > The warnings look like this: > > In function ‘xnrealloc’, > inlined from ‘linebuffer_setlen’ at etags.c:7284:7, > inlined from ‘find_entries’ at etags.c:1893:3: > etags.c:7324:18: warning: argument 2 range [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] > 7324 | void *result = realloc (pa, nbytes); > | ^~~~~~~~~~~~~~~~~~~~ > In file included from ../lib/stdlib.h:37, > from etags.c:119: > etags.c: In function ‘find_entries’: > /usr/include/stdlib.h:549:14: note: in a call to allocation function ‘realloc’ declared here > 549 | extern void *realloc (void *__ptr, size_t __size) > | ^~~~~~~ > In file included from ctags.c:2: What version of GCC did you use for this build? I had a similar warning in editfns.c, see bug#39857.