From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#70898: switching to for Emacs bit ops Date: Mon, 13 May 2024 09:56:46 -0700 Organization: UCLA Computer Science Department Message-ID: References: <69689DCA-4836-49F2-B163-0F5D151FF03F@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26280"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70898@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 13 18:57:25 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1s6YzN-0006Yp-Jp for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 May 2024 18:57:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6Yz2-0002qJ-Pm; Mon, 13 May 2024 12:57:04 -0400 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 1s6Yz0-0002q0-3q for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 12:57:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6Yyz-0007Vd-Q6 for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 12:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s6Yz0-0003oL-3f for bug-gnu-emacs@gnu.org; Mon, 13 May 2024 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2024 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70898 X-GNU-PR-Package: emacs Original-Received: via spool by 70898-submit@debbugs.gnu.org id=B70898.171561941814642 (code B ref 70898); Mon, 13 May 2024 16:57:02 +0000 Original-Received: (at 70898) by debbugs.gnu.org; 13 May 2024 16:56:58 +0000 Original-Received: from localhost ([127.0.0.1]:33740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Yyv-0003o6-RD for submit@debbugs.gnu.org; Mon, 13 May 2024 12:56:58 -0400 Original-Received: from mail.cs.ucla.edu ([131.179.128.66]:35812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6Yyr-0003o0-P6 for 70898@debbugs.gnu.org; Mon, 13 May 2024 12:56:56 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 196D53C011BC5; Mon, 13 May 2024 09:56:47 -0700 (PDT) Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id GUA_uIfd_DPT; Mon, 13 May 2024 09:56:46 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id B853F3C011BD4; Mon, 13 May 2024 09:56:46 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu B853F3C011BD4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1715619406; bh=Vw3nviGIBFdxRMz2jECLifWCfKeefTa1UbuEIlYGNN4=; h=Message-ID:Date:MIME-Version:To:From; b=EEu/JMj30XziX2NjwuNoJoYhbMzoDd7yZzbKQVwe3NK8/gTLWZNyqnB+ZTfwlxXiY YHYPW/Z2jIeiL/XSN5Y4zaYVHAPpqS139z3L2606CVpU1gTtahXanuphRAVf6Y8Yqv XTYLenOdNCGhpt6PycmnGtVCFYb8Wt2G9CSUkXA0PqkO53F/qz1Cmvevz6bYEIYvzE T4nrKSD/FyMqxO7tF7E/3OF2WEUciwVdKa2KHPcxLENBCG8W8T88PdCo08/B42WggV Wv97K8aiBUpAxHpqFD7tXkBTXW/nNZZDgHFbGosqz7riCO6FFyM/e0mtvFLGrnJN8c HP5/E0JmItA0w== X-Virus-Scanned: amavis at mail.cs.ucla.edu Original-Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id nvo4ZRRpmubM; Mon, 13 May 2024 09:56:46 -0700 (PDT) Original-Received: from [192.168.254.12] (unknown [47.154.17.165]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 918733C011BC5; Mon, 13 May 2024 09:56:46 -0700 (PDT) Content-Language: en-US In-Reply-To: <69689DCA-4836-49F2-B163-0F5D151FF03F@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284979 Archived-At: On 2024-05-13 07:34, Mattias Engdeg=C3=A5rd wrote: > Has C23 been frozen yet? The most recent accessible draft I could find = was N3096. It's not final, but it's pretty frozen. I doubt whether the stdbit spec=20 will change. Yes, n3096 is the latest public draft. > Overall happy with the changes but haven't read them in detail. > Minor things I stumbled upon: >=20 >> @@ -4269,7 +4263,9 @@ endif >> ## begin gnulib module verify >> ifeq (,$(OMIT_GNULIB_MODULE_verify)) >> =20 >> +ifneq (,$(gl_GNULIB_ENABLED_verify_CONDITION)) >> =20 >> +endif >=20 > Unfinished work? That was generated automatically by gnulib-tool and is harmless. That=20 being said, I installed a change to the Gnulib stdbit module for other=20 reasons (porting to theoretical platforms where C integers are wider=20 than 256 bits!) here: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D9768940fbd11558= b8dab3453aa419a3433933d50 and I expect that will remove the harmless code by removing the=20 conditional dependency on Gnulib's assert-h module. >> +/* 1 if supported, -1 if not, 0 if unknown. */ >> +extern signed char __gl_stdint_popcount_support; >=20 > `__gl_stdbit_popcount_support`, maybe? Thanks, fixed here: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3D9deb8e8891e3696= 8deeb93bd666670f7950d1095 > (By the way, in case you are on the WG: the N3096 draft has Yes, that text is weird and I also didn't have a clue as to what it=20 meant. So I cloned latest glibc+gcc behavior and hoped for the best. I have avoided dealing with that WG for decades as my political skills,=20 such as they are, are better deployed elsewhere. But you're welcome to=20 file a bug report.