From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master f92520d009e 1/2: Don't pause display for pending input Date: Thu, 19 Dec 2024 14:44:34 +0200 Message-ID: <86a5crlu4t.fsf@gnu.org> References: <173460276132.331083.7195719813421951970@vcs3.savannah.gnu.org> <20241219100603.94BA7C031EB@vcs3.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3311"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 19 13:47:08 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tOFvn-0000jL-Ey for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Dec 2024 13:47:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOFvY-0003WW-TR; Thu, 19 Dec 2024 07:46:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOFtO-0002qM-3g for emacs-devel@gnu.org; Thu, 19 Dec 2024 07:44:39 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOFtN-0006Vj-R3; Thu, 19 Dec 2024 07:44:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GHpd1VIfwbLfY6MzfwaN1y0hltKuNftjIBKcU8sb4og=; b=XEYAXuUwtjp4RuU4Ul7v +OH2EujUdoq07Jz5pofBRxQHHjLyhDjis3ZakNwA9lL2KjBPo4yaMqIdy2mOsxFAW1H74vSufPdCW lwREdgWDLaM2MOQYc3x2CDpUKrUTdTjjCuh8eQHEHrVorxaPkhVpP/YK7B85L6S408UOyPZuOfkQE GrUChWaYvt9eYTbaARWczIZXwL5O23etRTBZZnLEn9ag/mj/OpBiLY9aJvzvSKJ4jW8wbujrxCQ20 E/EmLht1r9w8sap9QgOmc8KdEdRL2iXcKmH8fmsy2sdPHr6H05Fva++sfo2t51M3RBcHGmebaPuBv BUOa+xKkKPRBWA==; In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Thu, 19 Dec 2024 13:24:41 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326737 Archived-At: > From: Gerd Möllmann > Cc: emacs-devel@gnu.org, Gerd Möllmann > Date: Thu, 19 Dec 2024 13:24:41 +0100 > > Andrea Corallo writes: > > > And with --enable-checking=all --enable-check-lisp-object-type --with-native-compilation=yes > > > > ======= > > In file included from dispnew.c:27: > > In function ‘PSEUDOVECTORP’, > > inlined from ‘FRAMEP’ at lisp.h:3343:10, > > inlined from ‘FRAME_PARENT_FRAME’ at frame.h:1236:42, > > inlined from ‘root_frame’ at dispnew.c:3340:10, > > inlined from ‘is_in_matrix’ at dispnew.c:3877:24, > > inlined from ‘is_cursor_obscured’ at dispnew.c:3898:8, > > inlined from ‘terminal_cursor_magic’ at dispnew.c:3917:7, > > inlined from ‘combine_updates_for_frame’ at dispnew.c:3970:5: > > lisp.h:1096:68: warning: null pointer dereference [-Wnull-dereference] > > 1096 | && ((XUNTAG (a, Lisp_Vectorlike, union vectorlike_header)->size > > | ^ > > ======= > > > This one I don't see here, with clang 19. And I must admit I don't > understand it what it is complaining about. The function root_frame > is pretty simple: > > struct frame * > root_frame (struct frame *f) > { > while (FRAME_PARENT_FRAME (f)) > f = FRAME_PARENT_FRAME (f); > return f; > } > > and FRAME_PARENT_FFAME is > > INLINE struct frame * > FRAME_PARENT_FRAME (struct frame *f) > { > return NILP (f->parent_frame) ? NULL : XFRAME (f->parent_frame); > } > > Any idea? I think it wants to tell you that the argument F of FRAME_PARENT_FRAME could be NULL.