From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#9769: Misplaced tail call optimization Date: Thu, 20 Oct 2011 23:51:20 +0200 Message-ID: <87aa8v72nb.fsf@pobox.com> References: <87sjmsistv.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1319147523 14344 80.91.229.12 (20 Oct 2011 21:52:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 21:52:03 +0000 (UTC) Cc: 9769-done@debbugs.gnu.org To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Oct 20 23:51:57 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RH0Wr-0007rW-8A for guile-bugs@m.gmane.org; Thu, 20 Oct 2011 23:51:57 +0200 Original-Received: from localhost ([::1]:55272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH0Wq-0007Cp-Mn for guile-bugs@m.gmane.org; Thu, 20 Oct 2011 17:51:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH0Wn-0007Cb-El for bug-guile@gnu.org; Thu, 20 Oct 2011 17:51:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RH0Wm-0003UH-B3 for bug-guile@gnu.org; Thu, 20 Oct 2011 17:51:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH0Wm-0003U8-83 for bug-guile@gnu.org; Thu, 20 Oct 2011 17:51:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RH0Xu-0007qs-BK for bug-guile@gnu.org; Thu, 20 Oct 2011 17:53:02 -0400 Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-guile@gnu.org Resent-Date: Thu, 20 Oct 2011 21:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 9769 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 9769@debbugs.gnu.org, wingo@pobox.com Original-Received: via spool by 9769-done@debbugs.gnu.org id=D9769.131914755830148 (code D ref 9769); Thu, 20 Oct 2011 21:53:01 +0000 Original-Received: (at 9769-done) by debbugs.gnu.org; 20 Oct 2011 21:52:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RH0XV-0007qB-I1 for submit@debbugs.gnu.org; Thu, 20 Oct 2011 17:52:38 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62] helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RH0XU-0007q5-4l for 9769-done@debbugs.gnu.org; Thu, 20 Oct 2011 17:52:37 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 2182E7947; Thu, 20 Oct 2011 17:51:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=10SlDB82i1mPLu5if8nUf2VmCWs=; b=cTP62U qIoUBrI64hTDFj0pUjuKTqp32KhgntMO2Zkpu5Bo0eI4AanzMJkqHZEmmDLM1iEN EwMciLDwN1Wb9TB3L0iZnl5IR1qms1umGMLIyrveZpPOxnAhfIHAxU5FO3Myim6k 6D8S5sWJw7sMr6Fn7PnYwzd9IT97HL8QDjLOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Jfo6lf7+uRl2ou1kqh9L6unNfyknteHW k+nqONu2t/JsNqDc3VlH8IOUICa0RK+SZ5Zgqw4Gsh3/cxJaOWirmTNrXFj9+K3/ FNtEbxR2KiiZpzze+23/xRdANA8qZqQBaX4fMeGZHg/qC8y1Q9cCALAavWQs9FDF EFqkkgnswcg= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 19BFF7945; Thu, 20 Oct 2011 17:51:25 -0400 (EDT) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 831B17941; Thu, 20 Oct 2011 17:51:24 -0400 (EDT) In-Reply-To: <87sjmsistv.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 16 Oct 2011 22:29:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: A7CFDFA6-FB65-11E0-A0FD-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 20 Oct 2011 17:53:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5867 Archived-At: Fixed in git. Thanks for the report! commit aa9c19858872a135ea959066fff26f86527a1bd0 Author: Andy Wingo Date: Thu Oct 20 23:50:05 2011 +0200 fix misallocation of some procedures * module/language/tree-il/analyze.scm (analyze-lexicals): When stepping into a non-tail form, we know that labels allocation will be invalid, so use an empty labels set. Fixes http://debbugs.gnu.org/9769. * test-suite/tests/tree-il.test ("labels allocation"): Add a test. -- http://wingolog.org/