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: Mon, 22 Feb 2021 10:25:28 +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="16361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46670@debbugs.gnu.org, Mauricio Collares To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 22 11:27: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 1lE8Qo-00047n-FI for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 11:27:10 +0100 Original-Received: from localhost ([::1]:33742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE8Qn-0001oB-Ep for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 05:27:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE8Qg-0001ny-FB for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 05:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE8Qg-00029l-6f for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 05:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lE8Qg-00076l-3R for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 05:27: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: Mon, 22 Feb 2021 10:27: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.161398957127226 (code B ref 46670); Mon, 22 Feb 2021 10:27:02 +0000 Original-Received: (at 46670) by debbugs.gnu.org; 22 Feb 2021 10:26:11 +0000 Original-Received: from localhost ([127.0.0.1]:55731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE8Pr-000754-Ik for submit@debbugs.gnu.org; Mon, 22 Feb 2021 05:26:11 -0500 Original-Received: from mail-ot1-f43.google.com ([209.85.210.43]:44919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE8Pp-00074q-Uo for 46670@debbugs.gnu.org; Mon, 22 Feb 2021 05:26:10 -0500 Original-Received: by mail-ot1-f43.google.com with SMTP id g6so7322738otk.11 for <46670@debbugs.gnu.org>; Mon, 22 Feb 2021 02:26:09 -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=9nVSsOge1PcqEd8ql0FncILvd9oaI1/TEqgb7wX0uf4=; b=DHhisInqivIRXd3qvx6AixFUcQ4S2aZdEqz1Cp3RPrYd93N7EVDoxTkfjJ9tYRFGh5 o8nSarlgB0XHf5ESycHsM5gGiovleMtRuxHWrvh2nnuiyyn4OqHCI8WFpFKKn7p9T7f4 IZoNv1IxYsAwkYsrGCMeqkzjcHjwqAuA7n5TIC/r11tu6bf9OckKnx1A5pVzsJcUNgEw f7WMr/f5booQBr+aah6VD95kyH8WadD1T8xrzKs2No7HLmJhwf9aDB300C907bccVBBB w0AIWTEZbCH6nnSQqPTR92WhdlWdlJbzWsB7w1ia9XQTUeBtYmyyL4BvH+C/gQ5eWiVB B6jQ== 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=9nVSsOge1PcqEd8ql0FncILvd9oaI1/TEqgb7wX0uf4=; b=mKdbIuky1gNLNNniY8APMou26lIIOogpTuws+ooIUYIo0Sr0UtPjJDQ7FdKXjnwGtQ BaCjJM3z2zo8kWf7bq4JnzJ38FSytgVC4HEZEooWRt4K20GKEHTY2sos8m90IU6nmluo DdOox2/JIcBtbIPuu11NLdgaRG3a8KGXtgrov5p7iW2S1rd9JieA1a0A0OMWCdmw3IYd K8oU86s2RNWmJ+FXxkvOChd4pEZn9c65BXx9PpDmZyI+KyUXWLpr665SKs1By/HJwylo +Nk94xBu4RZO79YU0qYG9xC+Cfg72IGuf/fR9AoIyx/uABRladtBrHm8pReYHI9W0D8w mrZg== X-Gm-Message-State: AOAM531bUjqsAv162SWubzfKnKb2z2GMnYJRIKtRevog17noOgBWH6/K 2OFhk8QNE/4w1gL+tdZctlBY5n9i000og0n9XOY= X-Google-Smtp-Source: ABdhPJzAMwEOb3pACNWEZ+v4wGaT6d8FMVs6kFDnPop/yRv+UsrO5Ug/s9LpnJ8iYusXkD2yB+BY5twbibm2+w9AEd8= X-Received: by 2002:a05:6830:1605:: with SMTP id g5mr16139896otr.292.1613989564260; Mon, 22 Feb 2021 02:26:04 -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:200555 Archived-At: On Mon, Feb 22, 2021 at 10:04 AM Pip Cet wrote: > > BTW applying your patch > > is breaking quite some of the comp-tests-ret-type-spec-* tests :) > > Where do you keep those? Oh, I see, they're written as though they tested comp.c. At a quick glance, the test results aren't actually incorrect, they're merely missed optimizations. (Except for this one: ((defun comp-tests-ret-type-spec-f (x) (unless (symbolp x) x)) (not symbol)) If I'm reading that correctly, it tests that (unless (symbolp x) x) isn't a symbol, which it usually is)