1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-21 13:31:37 -07:00

Pacify GCC 14 -Wclobbered in eval.c

* src/eval.c: Ignore -Wclobbered.
This commit is contained in:
Paul Eggert 2024-04-30 01:20:12 -07:00
parent 62c2afe841
commit 009a6ba71e

View file

@ -1237,6 +1237,12 @@ usage: (catch TAG BODY...) */)
return internal_catch (tag, Fprogn, XCDR (args));
}
/* Work around GCC bug 61118
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118>. */
#if GNUC_PREREQ (4, 9, 0)
# pragma GCC diagnostic ignored "-Wclobbered"
#endif
/* Assert that E is true, but do not evaluate E. Use this instead of
eassert (E) when E contains variables that might be clobbered by a
longjmp. */