mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Do not ignore -Wanalyzer-allocation-size in GCC 14
* src/lisp.h (SAFE_ALLOCA_LISP_EXTRA): Use pragma to ignore the warning only in GCC 13, as the GCC developers say GCC bug 109577 is fixed in GCC 14.
This commit is contained in:
parent
42c6cf4e58
commit
659770fdf5
1 changed files with 1 additions and 1 deletions
|
|
@ -5525,7 +5525,7 @@ safe_free_unbind_to (specpdl_ref count, specpdl_ref sa_count, Lisp_Object val)
|
|||
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109577
|
||||
which causes GCC to mistakenly complain about the
|
||||
memory allocation in SAFE_ALLOCA_LISP_EXTRA. */
|
||||
#if GNUC_PREREQ (13, 0, 0)
|
||||
#if GNUC_PREREQ (13, 0, 0) && !GNUC_PREREQ (14, 0, 0)
|
||||
# pragma GCC diagnostic ignored "-Wanalyzer-allocation-size"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue