From a69ce2e3ddf66eb87010ecdd3617a286caa8e69a Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Wed, 21 May 2008 12:25:44 +0000 Subject: [PATCH] 1.0.16.42: Fix LOCALLY in fopcompiled context Patch by Juho Snellman; gentle prodding by Attila Lendvai. --- NEWS | 2 ++ src/compiler/fopcompile.lisp | 2 +- tests/compiler.test.sh | 5 +++++ tests/expect.sh | 13 +++++++++++++ version.lisp-expr | 2 +- 5 files changed, 22 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index d49686999..d6e201179 100644 --- a/NEWS +++ b/NEWS @@ -41,6 +41,8 @@ changes in sbcl-1.0.17 relative to 1.0.16: 2.18.50.0.4 support. (thanks to Marijn Schouten) * bug fix: fix ECASE warnings from CMUCL-as-xc-host. (reported by Andreas Franke) + * bug fix: the fopcompiler can handle LOCALLY forms (with no + declarations) successfully. (reported by Attila Lendvai) changes in sbcl-1.0.16 relative to 1.0.15: * minor incompatible change: revert the changes to sb-posix's error diff --git a/src/compiler/fopcompile.lisp b/src/compiler/fopcompile.lisp index 3ddc35ca2..1a3338593 100644 --- a/src/compiler/fopcompile.lisp +++ b/src/compiler/fopcompile.lisp @@ -321,7 +321,7 @@ for-value-p))) ((if) (fopcompile-if args path for-value-p)) - ((progn) + ((progn locally) (loop for (arg . next) on args do (fopcompile arg path (if next diff --git a/tests/compiler.test.sh b/tests/compiler.test.sh index 48aa64ede..548f9eea6 100644 --- a/tests/compiler.test.sh +++ b/tests/compiler.test.sh @@ -379,5 +379,10 @@ cat > $tmpfilename < $tmpfilename <