From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#43725: 28.0.50; Include feature/native-comp into master Date: Fri, 19 Feb 2021 12:53:43 +0000 Message-ID: References: <87wny8xwcc.fsf@gnus.org> <83im9sqk1b.fsf@gnu.org> <83v9drp8va.fsf@gnu.org> <831rdjd95w.fsf@gnu.org> 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="4539"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 43725@debbugs.gnu.org, Stefan Monnier To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 19 13:57:10 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 1lD5LK-00012s-8i for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Feb 2021 13:57:10 +0100 Original-Received: from localhost ([::1]:39990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD5LJ-0003IE-AW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Feb 2021 07:57:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD5JG-0001l3-4z for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 07:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lD5JF-0006IH-PN for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 07:55:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lD5JF-0000Rw-Jb for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 07:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2021 12:55:01 +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.16137392701679 (code B ref 43725); Fri, 19 Feb 2021 12:55:01 +0000 Original-Received: (at 43725) by debbugs.gnu.org; 19 Feb 2021 12:54:30 +0000 Original-Received: from localhost ([127.0.0.1]:48902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD5Ik-0000R1-2s for submit@debbugs.gnu.org; Fri, 19 Feb 2021 07:54:30 -0500 Original-Received: from mail-ot1-f46.google.com ([209.85.210.46]:33288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD5If-0000Qm-9W for 43725@debbugs.gnu.org; Fri, 19 Feb 2021 07:54:29 -0500 Original-Received: by mail-ot1-f46.google.com with SMTP id c16so5028371otp.0 for <43725@debbugs.gnu.org>; Fri, 19 Feb 2021 04:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4/hrh1DLZm6u4XNvqKXqmsTMBRZ/zPc12geiOVaKsWI=; b=e7CeWZKDwKXfshe4CDRqsSKzJQC7dxznnifGlnisdjjzNMAck84tS1OgCJ7gReqhHf 9iHxhZeYBVs+5u5QiOPrcc+4j+EDXam5ipZqPI/05IN1D+mr1FY6hEoIU1bcj0I8Nsqt Ba6ZfpRZ7ydWQC13/uXs6Qo1OswWKV9q/JE5gXeu6uwKicFClSi5nYeyV+fjW5viZy8s FKG+dx11EMmStLOgCCW2qrJzxItD+XoBiEZm5HFLRWZmicNIYGKUJr4yf4Uk1GRgzEYe XWjPkpeISEF5XcrV3ObW3ndM+SKhhluYU9YjTZXDm2PoGbczJ5cnWIzFFPlbYxVTCWkL 2ZOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4/hrh1DLZm6u4XNvqKXqmsTMBRZ/zPc12geiOVaKsWI=; b=GdArJAuvJGYbInOtpFOSAQiIA+6+pfX9IlAqTjtnRBD6SvZa+SGVWP2Bk85ztHCqBC qORy/y7x0Lq30iqXB0kJrR9i9QBDpSJ/Fg2nIqvAa67eXnBvrpe0fJjD+/BJIO9uEK7g jGHweO1ZE2WTvWNmk4EGn+D02XR6YkLRy2GRWHUR/vxnFfitpLtu/TIEbypEvLW0bwm1 wp0ABtNF2EHoDxu40tt5p8o5q+dt8PxMeuayMZIkegOG41OZtXnIukufw5L2s0c4T76a 7rQv6Pve78srWJ/agUlhOgZT37Y609R2XQTCU+cS7yYqt5aPjrCMzMgksZ4xhzdVeH5P ZO0g== X-Gm-Message-State: AOAM531m9VAxqd2YOeMDgkb6djbN7vvjj6JRdpx8b70z6weaJoTsXXYU oH6PteH9xVx7DJhoAL0454ZHDyL5XUmLAnO5kuc= X-Google-Smtp-Source: ABdhPJyGlpf3Jizh4nJkTZGk52TMI6n4jjkQ9hE6TTg0MM/QB848nUTa9cyHAXinX8o5XxIkq4fJJXLvUY++0ZGTLtg= X-Received: by 2002:a05:6830:1605:: with SMTP id g5mr6719090otr.292.1613739259351; Fri, 19 Feb 2021 04:54:19 -0800 (PST) In-Reply-To: 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:200322 Archived-At: On Thu, Feb 18, 2021 at 8:40 PM Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > I noticed that with the suggested fix applied in configurations where > 'val' can't exceed a long on the positive side GCC (trunk from some time > ago) is complaining emitting the following warning: > > comp.c:1174:22: warning: logical =E2=80=98or=E2=80=99 of collectively exh= austive 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. 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? Sounds like it's GCC that needs to be fixed.