projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
166b10e
)
Pacify Ubuntu GCC 13.2 in set_marker_internal
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 6 Jan 2024 21:38:13 +0000
(13:38 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 6 Jan 2024 21:40:38 +0000
(13:40 -0800)
* src/marker.c (set_marker_internal): Ignore
-Wanalyzer-deref-before-check, to work around GCC bug 113253.
src/marker.c
patch
|
blob
|
history
diff --git
a/src/marker.c
b/src/marker.c
index 377f6fbe8db475ae74debdaa332480329f1c7cf0..0101e144b4d69a70fa58668f7375328c4fca1075 100644
(file)
--- a/
src/marker.c
+++ b/
src/marker.c
@@
-20,6
+20,11
@@
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
+/* Work around GCC bug 113253. */
+#if 13 <= __GNUC__
+# pragma GCC diagnostic ignored "-Wanalyzer-deref-before-check"
+#endif
+
#include "lisp.h"
#include "character.h"
#include "buffer.h"