[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 27.0.90 is out!
From: |
Eli Zaretskii |
Subject: |
Re: Emacs 27.0.90 is out! |
Date: |
Tue, 03 Mar 2020 18:09:09 +0200 |
> From: address@hidden (N. Jackson)
> Date: Tue, 03 Mar 2020 08:40:58 -0500
> Cc: Emacs Devel <address@hidden>
>
> 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.