From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43725: 28.0.50; Include feature/native-comp into master Date: Fri, 19 Feb 2021 14:16:56 +0000 Message-ID: References: <87wny8xwcc.fsf@gnus.org> <83im9sqk1b.fsf@gnu.org> <83v9drp8va.fsf@gnu.org> <831rdjd95w.fsf@gnu.org> <83im6o2n67.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9518"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: larsi@gnus.org, 43725@debbugs.gnu.org, Pip Cet , monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 19 15:19:28 2021 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 1lD6cy-0002Nd-Qk for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Feb 2021 15:19:28 +0100 Original-Received: from localhost ([::1]:58656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD6cx-0005Uv-Q4 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Feb 2021 09:19:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD6ac-0003rD-Gm for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 09:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37458) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lD6ac-0007eH-8O for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 09:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lD6ac-0002Up-4S for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 09:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2021 14:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43725 X-GNU-PR-Package: emacs Original-Received: via spool by 43725-submit@debbugs.gnu.org id=B43725.16137442209585 (code B ref 43725); Fri, 19 Feb 2021 14:17:02 +0000 Original-Received: (at 43725) by debbugs.gnu.org; 19 Feb 2021 14:17:00 +0000 Original-Received: from localhost ([127.0.0.1]:49004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD6aa-0002UW-Iq for submit@debbugs.gnu.org; Fri, 19 Feb 2021 09:17:00 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:55074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD6aX-0002UN-NT for 43725@debbugs.gnu.org; Fri, 19 Feb 2021 09:16:58 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 11JEGu1K022977 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 19 Feb 2021 14:16:56 GMT In-Reply-To: <83im6o2n67.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Feb 2021 15:37:52 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:200335 Archived-At: Eli Zaretskii writes: >> From: Pip Cet >> Date: Fri, 19 Feb 2021 12:53:43 +0000 >> Cc: 43725@debbugs.gnu.org, eliz@gnu.org, larsi@gnus.org,=20 >> Stefan Monnier >>=20 >> > comp.c:1174:22: warning: logical =E2=80=98or=E2=80=99 of collectively = exhaustive tests is always true [-Wlogical-op] >> > 1174 | if (val > LONG_MAX || val < LONG_MIN) >> > | ^~ >> > >> > Not sure what's the best way to silence it or if we want to revert to >> > the previous formulation. >>=20 >> Maybe it's me, but I had a hard time parsing that warning. IIUC, the >> tests are both trivially false? And oring two trivially false >> conditions shouldn't trigger a warning, should it? > > No, I think it tries to say that val is always either greater than > LONG_MAX or smaller than LONG_MIN. Exactly, the warning is about the fact that all the other conditions will never be evaluated. The phrasing is admittedly quite cryptic tho. Andrea