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#46670: 28.0.50; [feature/native-comp] possible miscompilation affecting lsp-mode Date: Sun, 21 Feb 2021 11:56:08 +0000 Message-ID: References: <87a6ry46uc.fsf@collares.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29371"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46670@debbugs.gnu.org, Andrea Corallo To: Mauricio Collares Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 21 12:57: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 1lDnMe-0007Xf-3T for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 12:57:28 +0100 Original-Received: from localhost ([::1]:41272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDnMc-0004cp-RE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 06:57:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDnME-0004cT-ER for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 06:57:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDnME-0003nh-6m for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 06:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDnME-0004v0-5m for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 06:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Feb 2021 11:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46670 X-GNU-PR-Package: emacs Original-Received: via spool by 46670-submit@debbugs.gnu.org id=B46670.161390861218889 (code B ref 46670); Sun, 21 Feb 2021 11:57:02 +0000 Original-Received: (at 46670) by debbugs.gnu.org; 21 Feb 2021 11:56:52 +0000 Original-Received: from localhost ([127.0.0.1]:53623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDnM4-0004ua-H6 for submit@debbugs.gnu.org; Sun, 21 Feb 2021 06:56:52 -0500 Original-Received: from mail-ot1-f41.google.com ([209.85.210.41]:43441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDnM2-0004uN-Kw for 46670@debbugs.gnu.org; Sun, 21 Feb 2021 06:56:51 -0500 Original-Received: by mail-ot1-f41.google.com with SMTP id l23so9464682otn.10 for <46670@debbugs.gnu.org>; Sun, 21 Feb 2021 03:56:50 -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; bh=5wIgdgEFMfyUpdpNGZgYkzppJMj+va4TwbPwwsDZo5E=; b=OjabcS8pWo0DoJrf5O3KuhkTN4H+B+zR2fWqn8yFnqUj909UtxVTODRj6jsypn7rja keH0uPcffMxdEfYeVwj9Pekfx0hqKSSxfo9SiS8n7HkvIBXlmGDE8DLDespClX/SeRqR 02OvFn3s6fQEtLMJLQQeSrp9pFb9203a0XX7WeQopi7ta1k10Blq8x6AXv9y+h0e5o9N A3YspxrBH3LvGAZpDnbYw6oKQcoaiGC51Ta0PZTpp0tRCWac0x8GQpBSeSYrdeQdRidB ZZ5o9r2KyQ3HjoZ8sYgU1PvCVAER4Z9nvoc+ImZhZGn586KqvCN0Dlu0CC6mWfa2RZCW sovw== 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; bh=5wIgdgEFMfyUpdpNGZgYkzppJMj+va4TwbPwwsDZo5E=; b=JY8Yj5H9K0gtv+oTjNO02INZRQy8ujVoU8IIcPEGwndZGLA6pN4Vniwr0JQueLmU4h ab765FDv9Ur+0PCAKx7N+e8ErkGozxUpz6unrgBBdzo3bDyIesSTL3C7WVZWLkdWAPbY 4AVjqU143OIwAVxYVhTFRv+4iGtq/VuTnr0qZIr8gqkjoxjAFHLgI6SZw/eF9V6Fzn4r Q4a3kXY/poHTSi7b41NQCPh23sXfraL+YDaxd5Meb4omhM1+M7d6yimlbMRltOAUlaYE C0DnAKjKvJjLRZ/GpndJCnYRlPKvGa56VzOlN9YWv0Z9vK3yaZO8xFyAGVm4fqqQzBrO o+8w== X-Gm-Message-State: AOAM530wMQbrRHQp7eGrjMvXfTHjXwclJZzWk4xcAzm03DqzDFlNEnHh ggfAHIAkk2OjRVAsE8ihXGb027xI5+9hcwI7jFU= X-Google-Smtp-Source: ABdhPJyEOOQE6C8Wyr2/0zSWwXBClrt84ybb09U3nVh8IKGaezCQxcqcDovjzI65bXkgQqJuRgSBrFcnPnJ7imvGPEI= X-Received: by 2002:a05:6830:1605:: with SMTP id g5mr13358485otr.292.1613908605025; Sun, 21 Feb 2021 03:56:45 -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:200485 Archived-At: On Sun, Feb 21, 2021 at 11:51 AM Pip Cet wrote: > Does the attached patch help? Andrea, is my analysis correct? CCing Andrea. In more detail, some debugging showed we were trying to intersect a "nil or t" constraint with a "sequence" constraint, the result being a null constraint (t is not a sequence). So if (assume (and a b)) was meant to imply the intersection of a and b, we're emitting it incorrectly. Pip