all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: nljlistbox2@gmail.com (N. Jackson)
Cc: emacs-devel@gnu.org, nico@petton.fr
Subject: Re: Emacs 27.0.90 is out!
Date: Tue, 03 Mar 2020 18:09:09 +0200	[thread overview]
Message-ID: <83blpdxvx6.fsf@gnu.org> (raw)
In-Reply-To: <874kv5o8t1.fsf@moondust.localdomain> (nljlistbox2@gmail.com)

> From: nljlistbox2@gmail.com (N. Jackson)
> Date: Tue, 03 Mar 2020 08:40:58 -0500
> Cc: Emacs Devel <emacs-devel@gnu.org>
> 
> 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.




  reply	other threads:[~2020-03-03 16:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03 12:09 Emacs 27.0.90 is out! Nicolas Petton
2020-03-03 13:40 ` N. Jackson
2020-03-03 16:09   ` Eli Zaretskii [this message]
2020-03-03 16:30     ` N. Jackson
2020-03-04 21:51   ` Paul Eggert
2020-03-05  6:40     ` Eli Zaretskii
2020-03-06  2:18       ` Paul Eggert
2020-03-04  3:21 ` Richard Stallman
2020-03-04  3:40   ` Eli Zaretskii
2020-03-05  8:12 ` Philippe Vaucher
2020-03-05 13:52 ` Pieter van Oostrum
2020-03-05 14:19   ` Noam Postavsky
2020-03-06 15:25     ` Pieter van Oostrum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83blpdxvx6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=nico@petton.fr \
    --cc=nljlistbox2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.