]> git.eshelyaron.com Git - emacs.git/commit
Don’t ignore -Wclobbered in emacs-module.c
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Aug 2024 23:59:08 +0000 (16:59 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 20 Aug 2024 14:08:50 +0000 (16:08 +0200)
commitf568ee8b70b45f80afb2de8d3edf98a99e00f9cd
tree96ac92f4b64271ce00852a70eb7dba1c2c4b723a
parent652df068006675be0330b236f9cff27c7e16f08f
Don’t ignore -Wclobbered in emacs-module.c

This fix is also prompted by Emacs bug#71744.
* src/emacs-module.c: Do not ignore -Wclobbered.
(MODULE_HANDLE_NONLOCAL_EXIT): Fix violations of the C standard,
where setjmp clobbered env and internal_cleanup.
(module_extract_big_integer) [GCC_LINT && __GNUC__ && !__clang__]:
Work around GCC -Wclobbered false positive for ‘sign’.

(cherry picked from commit cfa5a634e91f5c232a71ec212679165074dc480b)
src/emacs-module.c