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 12:11:59 +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="17973"; 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 13:15: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 1lEA7J-0004Vz-BC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 13:15:09 +0100 Original-Received: from localhost ([::1]:55718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEA7I-0006zF-7d for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Feb 2021 07:15:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEA5G-0005Cp-DG for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 07:13:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEA5G-0006zo-5d for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 07:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEA5G-0003XY-04 for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2021 07:13: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 12:13:01 +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.161399596313580 (code B ref 46670); Mon, 22 Feb 2021 12:13:01 +0000 Original-Received: (at 46670) by debbugs.gnu.org; 22 Feb 2021 12:12:43 +0000 Original-Received: from localhost ([127.0.0.1]:55980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEA4x-0003Wx-BN for submit@debbugs.gnu.org; Mon, 22 Feb 2021 07:12:43 -0500 Original-Received: from mail-ot1-f42.google.com ([209.85.210.42]:44120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEA4v-0003Wk-DQ for 46670@debbugs.gnu.org; Mon, 22 Feb 2021 07:12:41 -0500 Original-Received: by mail-ot1-f42.google.com with SMTP id g6so7564007otk.11 for <46670@debbugs.gnu.org>; Mon, 22 Feb 2021 04:12:41 -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=D6tCvUZpNBYdNdm0ONY++b+CMTYjmDvGHb+2/CTW32Y=; b=h8tq/pOalhiC9M/dFpJ1Gf0kZ55zIowghT5/pApBhsaAoCLvamtHFe0S5zF+fD3tL1 fIOxE8UKqYFgTlUqSLZ/mGO9Z1sXjc9/FNvqI7CzKlG7Q+u9QS9r2So5rlp3pyuspGKx r3WXdTx1yG+Qp1h+gwIP03L9uH6WrmzofwbIRsLZI9Ge6NVojYFcEIJF4J40Fb8d0N8I 41u2VsEdmlLRmuudKqVgSMZEem9fKCH40GGgj//NJcY2HanSQcYk0xlZ0CdKVsIxyMmg T4oqB3nL028IXW3EpXMD7j1VMY7jwso6Y4birsDlBpTHSYWtWXX4RuLVXYCALzbby56G o/IA== 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=D6tCvUZpNBYdNdm0ONY++b+CMTYjmDvGHb+2/CTW32Y=; b=W9EP3dITYK8WjAWBYCat9yE2HdOm84i7V2aReUe6uoICFJ/lmyEczgyLj0m3IlqhxM LuY0eimQoyeRx1AsLt2LzvFt/poA2kRlMOZeXuTi9dTM9gNqmomMWTVUvtCphX0X8BBp dVyAReBK+eWxFmtE/A5tmGQlnWkCOo6FhJMoszkEs6nQOfAdzyTR7YiC6B/tHeElWn3F H/HBZI6wyELkIpA52FzHal+Hf0e/UQG0M9hjnVWGpAXPoGA5j8DOP9B4TnweLTmxDosi LWQQ5zenZ/QaIpIzK+BZy6NcfvZKppd9BRyoVnZeuAFZsatdC+ODD7rIimoPDa1x0Rf6 7weQ== X-Gm-Message-State: AOAM533rLLuttlIxIXyOV0y/pXve/8wd78SwFhKOvAFmOBnbPSQWEwJ+ DWwXsvNcggzCRhQ1nrlDlW7cJTdDI8AeiOEPN7w= X-Google-Smtp-Source: ABdhPJzhtmF4351XIiCEbBp6V9lwNKNKY75KqhKxhpTrd57ram0ohS394veMlRJE11ggBaP3VseThZQ+en4bexDNw18= X-Received: by 2002:a05:6830:249a:: with SMTP id u26mr11280444ots.287.1613995955795; Mon, 22 Feb 2021 04:12:35 -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:200563 Archived-At: On Mon, Feb 22, 2021 at 11:23 AM Andrea Corallo wrote: > Pip Cet writes: > > On Mon, Feb 22, 2021 at 10:04 AM Pip Cet wrote: > > (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) > > Yep, it verifies that this function has as inferred return type (not > symbol). Which means the return value shouldn't ever be a symbol, right? Because it's nil, which is a symbol, when (symbolp x). Am I missing something here?