emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master aad80e1934f 11/11: Work around bad GCC diagnostic in select_windo


From: Paul Eggert
Subject: master aad80e1934f 11/11: Work around bad GCC diagnostic in select_window
Date: Tue, 30 Apr 2024 04:26:38 -0400 (EDT)

branch: master
commit aad80e1934f09b643b93aeb3bf9c1d583af6e2ec
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Work around bad GCC diagnostic in select_window
    
    * src/textconv.c (select_window): Add an eassume to work
    around GCC bug 114893.
---
 src/textconv.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/textconv.c b/src/textconv.c
index 8850f3cc6be..06d9af335c5 100644
--- a/src/textconv.c
+++ b/src/textconv.c
@@ -141,6 +141,10 @@ select_window (Lisp_Object window, Lisp_Object norecord)
 
   w = XWINDOW (window);
 
+  /* Work around GCC bug 114893
+     <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114893>.  */
+  eassume (w);
+
   if (MINI_WINDOW_P (w)
       && WINDOW_LIVE_P (window)
       && !EQ (window, Factive_minibuffer_window ()))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]