From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: pathological byte-compilation Date: Mon, 24 Jun 2002 21:26:34 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200206250126.g5P1QY005606@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024968447 21332 127.0.0.1 (25 Jun 2002 01:27:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Jun 2002 01:27:27 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Mf79-0005Xx-00 for ; Tue, 25 Jun 2002 03:27:27 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Mf8Y-0002ei-00 for ; Tue, 25 Jun 2002 03:28:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Mf6w-000771-00; Mon, 24 Jun 2002 21:27:14 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Mf6J-000762-00 for ; Mon, 24 Jun 2002 21:26:35 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g5P1QY005606; Mon, 24 Jun 2002 21:26:35 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5179 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5179 CL used to define `values' as an alias to `list'. It has been changed (end of last year) to (defsubst values (&rest values) (apply 'list values)) This has the "interesting" side-effect that compiling the function (defun foo () (values 1)) results in the following byte-code: byte code for foo: args: nil 0 constant 1 1 list1 2 varbind values 3 constant apply 4 constant list 5 varref values 6 call 2 7 unbind 1 8 return in other words, the same result as if we had compiled (defun foo () (let ((values (list 1))) (apply 'list values))) Stefan