From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#53451: 28.0.91; Different behavior with native-compilation Date: Wed, 09 Feb 2022 17:16:53 +0000 Message-ID: References: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> <8190cc08e34d3cd81ba51c83b502c41236519ba4.camel@laposte.net> 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="2319"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Giquel To: 53451@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 09 19:14:41 2022 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 1nHrUH-0000Un-H1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 19:14:41 +0100 Original-Received: from localhost ([::1]:57734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHrUG-0000r9-IP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 13:14:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHqb4-00056Z-OR for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 12:17:38 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHqaU-0002ld-67 for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 12:17:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHqaU-0001np-1R for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 12: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: Wed, 09 Feb 2022 17:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53451 X-GNU-PR-Package: emacs Original-Received: via spool by 53451-submit@debbugs.gnu.org id=B53451.16444270196918 (code B ref 53451); Wed, 09 Feb 2022 17:17:01 +0000 Original-Received: (at 53451) by debbugs.gnu.org; 9 Feb 2022 17:16:59 +0000 Original-Received: from localhost ([127.0.0.1]:52518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHqaQ-0001nU-Ro for submit@debbugs.gnu.org; Wed, 09 Feb 2022 12:16:59 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:52789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHqaN-0001nI-AL for 53451@debbugs.gnu.org; Wed, 09 Feb 2022 12:16:56 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 219HGrHB005644 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 9 Feb 2022 17:16:53 GMT In-Reply-To: (Andrea Corallo's message of "Wed, 09 Feb 2022 09:51:40 +0000") 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:226498 Archived-At: Andrea Corallo writes: > Fr=C3=A9d=C3=A9ric Giquel via "Bug reports for GNU Emacs, the Swiss army = knife of > text editors" writes: > >> Hi Andrea, >> >> How can I help ? >> Do you need further information ? >> >> Best Regards, >> Fr=C3=A9d=C3=A9ric Giquel > > Hi Fr=C3=A9d=C3=A9ric, > > I've isolated `fish-get-end-indent' as the function causing the > different behaviour. I'll have a look into what is going on and report. > > Thanks > > Andrea Okay, this is an optimizer bug. The compiler was convinced the following lambda returned 1 :/ and could optimize accordingly... (=CE=BB (x) (if (eq x 0) (error "foo") (1+ x))) I've pushed the fix into emacs-28 as 69e82968d7 as I think this is important to have in the release branch. The commit include a testcase as well. Fr=C3=A9d=C3=A9ric if you could compile emacs-28 and verify it works for yo= u would be nice (I guess you'll have to clean-up at least the miss-compiled .eln) Thanks Andrea