GNU bug report logs - #32506
27.0.50; loop regression

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Helmut Eller <eller.helmut@HIDDEN>; Keywords: confirmed; dated Thu, 23 Aug 2018 07:18:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Aug 2018 07:17:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 23 03:17:32 2018
Received: from localhost ([127.0.0.1]:58289 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fsjs4-0001Xo-K8
	for submit <at> debbugs.gnu.org; Thu, 23 Aug 2018 03:17:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34473)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eller.helmut@HIDDEN>) id 1fsjs3-0001Xd-Ft
 for submit <at> debbugs.gnu.org; Thu, 23 Aug 2018 03:17:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eller.helmut@HIDDEN>) id 1fsjrx-00073j-GA
 for submit <at> debbugs.gnu.org; Thu, 23 Aug 2018 03:17:26 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45974)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <eller.helmut@HIDDEN>)
 id 1fsjrx-00073b-CA
 for submit <at> debbugs.gnu.org; Thu, 23 Aug 2018 03:17:25 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55455)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eller.helmut@HIDDEN>) id 1fsjrw-0005ET-FX
 for bug-gnu-emacs@HIDDEN; Thu, 23 Aug 2018 03:17:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eller.helmut@HIDDEN>) id 1fsjrs-00070b-HK
 for bug-gnu-emacs@HIDDEN; Thu, 23 Aug 2018 03:17:24 -0400
Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:43986)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <eller.helmut@HIDDEN>)
 id 1fsjrs-0006zo-9W
 for bug-gnu-emacs@HIDDEN; Thu, 23 Aug 2018 03:17:20 -0400
Received: by mail-wr1-x436.google.com with SMTP id k5-v6so3671666wre.10
 for <bug-gnu-emacs@HIDDEN>; Thu, 23 Aug 2018 00:17:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=2hCQ66Ayo829k3SbhxvVsrxt61OyNaxzMywqiRf9MfY=;
 b=G8ZpqOWv8Q3cRBPG3FemCy89s2t4IzgtJRs64OmDb4hgaCgyYnGQtlg6EyjOqlCnq/
 L4DCRo6sIYihlX2NcwDda8pk0unzunaUCiOOKtRydQqVPmUrKxNPmIiYub7GH+XBRdpw
 XjGx0/4lVUGlkyhOL47Qg1QMpGz4VWolceSihUtkInfJ7k366yjW4PffaroyPqCRNdxs
 XzbveKc8zcnvpNnEs+mG5NTmrjW8w2UIleZ5Dwj0Lx5ECI+pyuJrwXNgT+LebwnCHyFk
 592hKPcIBFQk4MQJB3RWR6gY+lTh6BgMqeNuWi4Ea/kz7/qUrtqEZIl+K1ssAGeaAwky
 BqoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=2hCQ66Ayo829k3SbhxvVsrxt61OyNaxzMywqiRf9MfY=;
 b=EEh+/6LLPhNPUP0XgLOyPemqsY+7yTYXLFXCMyO9hjDwyPsoxxBK1iDC7OGNUkF2Oo
 Uho8F/di1lh0vjNBGLjqx+PPjTrhz9wjysPEQbjXD9CrBCLYbLM2xeHadg3ak9lJNc0A
 3OqB5evX0Tf4OlgcMTV0MDuJl6lAemVieDmnEPAmyX3V74rvZmVdfBH1R6lqI5W1DWl/
 jbpQ2xHV4XJVgy4p/dAOEc7TA/BmBhcbEF4/7KI4vUQy5M1kwJpLwxGYWkfTrvCKLCgI
 mqdB8nEM5DWPgVbkbxDTZqWiBQlqfu13DFQZt9aPq6DDE0Lo44SsqhdJiPTEIgvcMaJ0
 jDNg==
X-Gm-Message-State: APzg51DuwUMAzgHTnW4GpV0kD1x+gIwJMgFc4hkVJ8HumgTerIJRBelM
 JjATspBI585T8If1zfuef6b4Td/b
X-Google-Smtp-Source: ANB0VdaUTmcgCvv2xo2Pl4Ao2Gfniw8A5PYMibNuyn5JXBnumehU88azyxsqlYQhhLXQYV2abN8bRg==
X-Received: by 2002:adf:f648:: with SMTP id
 x8-v6mr8608100wrp.144.1535008638869; 
 Thu, 23 Aug 2018 00:17:18 -0700 (PDT)
Received: from caladan ([37.186.178.94])
 by smtp.gmail.com with ESMTPSA id n7-v6sm2156463wmc.2.2018.08.23.00.17.17
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 23 Aug 2018 00:17:18 -0700 (PDT)
From: Helmut Eller <eller.helmut@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; loop regression
Date: Thu, 23 Aug 2018 09:17:12 +0200
Message-ID: <m2zhxd1rif.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

With Emacs25 this

(require 'cl)

(defun foo (vector)
  (loop for i from -1
	for exp = 0 then (list exp e i)
	for e across vector
	finally (return exp)))

(assert (equal (foo [a b]) '((0 a 0) b 1)))

works as it should.  With the current Emacs version (foo [a b])
incorrectly returns (0 a 0).



In GNU Emacs 27.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2018-08-23 built on caladan
Repository revision: a4a3c92e9de59bd0251f36326375cce898919edc
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description: Debian GNU/Linux 9 (stretch)

Configured using:
 'configure --with-xpm=no --with-gif=no --with-tiff=no --with-jpeg=no
 --without-pop'

Configured features:
PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD GMP

Important settings:
  value of $LANG: C.UTF-8
  locale-coding-system: utf-8-unix




Acknowledgement sent to Helmut Eller <eller.helmut@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#32506; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 25 Aug 2018 02:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.