Steel Bank Common Lisp

All News

New SBCL versions are usually released at the end of each month: check the Sourceforge File List to see the current version. The new features of all SBCL releases are listed below.

New in version 2.0.8 Back to top platform support: added support for NetBSD/ARM64; threads on Linux now have OS-visible names; removed unnecessary emulation of pthread functions on Windows; work around a sigwait() bug on Mac OS X; allow safepoint build on Mac OS X, though it probably doesn't work very well (reported by Chris Wagner, #1382811) removed stub support for HPUX.

optimization: SB-THREAD:MAKE-THREAD is faster on most platforms.

optimization: faster RATIONAL when the result is a RATIO.

optimization: improved cross-type comparisons (float/ratio/bignum).

bug fix: EQUALP on pathnames was wrong

bug fixes: fix compiler issues in: COUNT (#1889391) VECTOR-LENGTH (#1888919) constant-folding (#1888384) FIND and POSITION (#1887316)



New in version 2.0.7 Back to top minor incompatible change: SB-THREAD:THREAD-OS-TID returns NIL for a thread which has exited.

minor incompatible change: OPEN no longer calls TRUENAME implicitly on a string filespec prior to issuing an open() system call.

minor incompatible change: PATHNAME is no longer a STRUCTURE-OBJECT.

documentation: HASH-FUNCTION is a function designator. (#1888028, reported by Jacek Zlydach)

bug fix: eliminated a potential garbage-collector deadlock when linking with TCMalloc.

bug fix: foreign threads (those not made by SB-THREAD:MAKE-THREAD) can not crash with a "GC_PENDING, but why?" error when returning back from Lisp into the foreign caller.

bug fix: sb-fasteval crashed trying to install a JIT-compiled DEFSTRUCT accessor in a locked package.

bug fix: removed misuse of putwc() which caused stdio streams to drop characters.

bug fix: the "maximum interrupt nesting depth exceeded" error generated in the C runtime is significantly less likely to occur.

bug fix: sb-sprof should no longer segfault from calling pthread_kill() on a nonexistent thread.

bug fix: a portability issue arising from various build hosts (#1886255, reported by Pierre Neidhardt)

bug fix: spurious compiler warnings from REDUCE with :INITIAL-VALUE. (#1885515, reported by Michael South)

bug fix: an inconsistency between class hierarchies and the type system under some circumstances involving redefinition. (#1886397, reported by Atilla Lendvai)

bug fix: the USE-VALUE restart for OPEN on non-existent files is more likely to function as expected. (#1886587)

bug fix: various invalid inputs to ROTATE-BYTE no longer cause compiler errors. (#1887164, #1888152)

optimization: PPC64 on linux uses the __thread annotation on C variables in preference to pthread_setspecific() and pthread_getspecific().

New in version 2.0.6 Back to top planned incompatible change: the defined symbols in the Metaobject Protocol, currently accessible from both SB-MOP and SB-PCL packages, will in a later release be no longer exported from SB-PCL.

platform support: better support for dynamic-extent on the SPARC architecture. bug fix for loading very large core files. bug fix for logior and logxor on PPC64.

enhancement: EQUALP on structure instances uses code specialized to each structure type, inlining comparison of non-pointer slots.

enhancement: some standard operators, such as WITH-OUTPUT-TO-STRING and CHANGE-CLASS, have been adapted to use dynamic-extent temporary objects, and so cons less garbage on the heap.

enhancement: read tables are more space- and speed efficient

bug fix: stream conditions with dynamic-extent streams have the stream replaced by a stub. (reported by Matt Kaufmann)

bug fix: garbage collections triggered from foreign callbacks crashed. (#1884403, reported by Andrew Kent)

bug fix: compiler failure in compiling MAKE-LIST. (#1881349)

bug fix: using the debugger from frames with calls to functions with unsupplied optional arguments is less likely to cause heap corruption. (#1883745)

New in version 2.0.5 Back to top platform support: experimental support for ARM32 and ARM64 on OpenBSD better musl libc support. (#1768368, thanks to Eric Timmons) more correct use of futexes on 64-bit Linux. (#1876825, reported by Ilya Perminov) restore building on current Solaris. (#1881393, thanks to Shawn Ellis)

enhancement: CMUCL-style START-BLOCK and END-BLOCK declarations are now supported for block compiling forms at a sub-file granularity.

enhancement: IPv6 support in sb-bsd-sockets is enabled on Windows.

minor change: *compile-print* now makes it more clear what block compilation is actually doing. The default output is now slightly more verbose as a result.

bug fix: number keys in EQUALP hash tables are correctly hashed. (#1878653, reported by Syll)

bug fix: EQness is better preserved given partial sharing of list contents in the file compiler. (#1583753, reported by Denis Budyak)

bug fix: the peephole pass neglected to preserve jump table labels. (#1876485)

bug fix: fix compiler crash in block compilation merging of toplevel lambdas. (#1865336, reported by il71)

bug fix: sb-introspect's function-lambda-arglist is better at extracting default values of nested macro arguments. (#1876194)

bug fix: RESTART-BIND's body is an implicit progn, and so does not accept declarations. (#1876303, reported by Michal Herda)

optimization: EQUAL hash tables with keys involving structure-objects will have fewer systematic collisions.

New in version 2.0.4 Back to top platform support: 32-bit RISC-V is now fully supported. Unlike other ports, its backend is entirely shared with 64-bit RISC-V. native threads are now supported on RISC-V. fix and add some x86-64 vector instructions. (reported by Shubhamkar Ayare) improve pointer representation on ppc64 for low-level performance improvement. threads are more stable on big-endian ppc64

enhancement: forward-referenced type tests can now be open-coded by using block compilation. The result is that mutually referential defstructs are now efficiently compiled in block compilation mode, superseding a lighter mechanism that worked in fewer contexts. However, that lighter mechanism has been removed, so for now, users who want to efficiently compile mutually referential defstructs must explicitly opt-in using block compilation.

bug fix: defstructs with empty initforms in the sbcl source are now explicitly intiialized with NIL, as that is undefined behavior under ANSI. This helps cross compilation hosts which do not implicitly initialize empty initform slots to NIL. (Thanks to Karsten Poeck)

bug fix: backtracing through assembly routines now works properly on RISC-V.

bug fix: ASH no longer gets miscompiled in certain edge cases on RISC-V.

bug fix: &MORE args have been slightly optimized and are more correct on RISC-V.

bug fix: unused local functions with &REST/&KEY/&OPTIONAL now also issue a deletion note.

bug fix: APPLY on a large list ("large" being in excess of 2k to 16k items depending on the platform) can no longer crash the gencgc collector.

bug fix: sb-concurrency FRLOCK algorithm has been corrected. (#1087955)

bug fix: block compilation now respects inlining declarations better (like CMUCL).

optimization: hashing of structures with raw slots for EQUALP hash tables has been improved.

New in version 2.0.3 Back to top incompatible change: the external format now defaults to UTF-8 and is not affected by LANG. SB-EXT:*DEFAULT-EXTERNAL-FORMAT* is now the only way to change it.

minor incompatible change: the undocumented :EPHEMERAL argument to MAKE-THREAD has been removed.

minor incompatible change: DECLARE type testing of structure types when the SAFETY optimization quality is less than SPEED (but greater than 0) is precise, rather than merely testing that an object is a (general) STRUCTURE-OBJECT.

platform support respect sunos platform assembler flag handling riscv architecture can be detected during the build enabled the sb-dynamic-core feature on riscv, sparc, and made it unconditional everywhere cheneygc is an option for arm and arm64

enhancement: the installed sbcl executable tree can be renamed or moved without risk of incorrectly referencing a '.core' file from an obsolete path. (#666086)

optimization: transform (values-list (list one-item)) to (values one-item) as multiple items were already recognized.

New in version 2.0.2 Back to top new feature: CMUCL-style block compilation support has been added, allowing whole program optimization. It has been documented in a new section of the manual entitled "Advanced Compiler Use and Efficiency Hints". In particular, users of block compilation will find a large speedup for numerical code, as functions which call or return floating point values will keep everything unboxed.

bug fix: in CHANGE-CLASS, handle non-standard slot-value-using-class for :INSTANCE and :CLASS slots better. (reported by Shinmera on #sbcl)

bug fix: REMHASH in an EQUAL or EQUALP hash-table works correctly on a key for which EQUAL (respectively EQUALP) is reduced to EQ. (#1865094)

bug fix: do not emit a warning for DEFCLASS slots with mismatched :TYPE and :INITFORM when the class has a non-standard metaclass.

bug fix: DISASSEMBLE on SPARC is less likely to spuriously annotate code sequences as error traps.

New in version 2.0.1 Back to top minor incompatible change: some symbols have been removed from *FEATURES* based on a determination of which should be impermissible to examine via #+ and #- reader macros in user-written code.

optimization: DEFSTRUCT copiers including COPY-STRUCTURE are able to stack-allocate the result when declared dynamic-extent.

bug fix: loop analysis code more robust. In particular, loop nesting depth is computed more accurately, improving the register allocation around loops.

New in version 2.0.0 Back to top minor incompatible change: heap relocation now works on Windows. Since this feature now works on all platforms, it is enabled unconditionally and the :RELOCATABLE-HEAP symbol no longer appears on *FEATURES* in any builds. (Thanks to Luís Borges de Oliveira)

enhancement: malformed type specifiers and occurrences of deprecated types in :TYPE initargs of DEFCLASS and DEFINE-CONDITION slot specifications are detected and result in compile-time errors and warnings respectively.

enhancement: parallel contrib building, controlled by SBCL_MAKE_JOBS=-jX the same as for the C runtime.

bug fix: add a walker template for WITH-SOURCE-FORM.

bug fix: start the summary of a compilation unit on a fresh line. (Thanks to Zach Beane)

bug fix: on Windows, PARSE-NATIVE-NAMESTRING produces an absolute directory when parsing a bare drive name and :AS-DIRECTORY is specified. (Thanks to Luís Borges de Oliveira)

bug fix: on RISCV, the runtime is linked with libz if the core compression feature is requested. (Thanks to Andreas Schwab)

bug fix: ADJOIN using an EQL test and a KEY function only transforms into an EQ test if the key function returns values for which EQ and EQL are guaranteed to be the same.

optimizations: the instruction sequence for multiple-value calls is more efficient on x86-64. the direction flag is now unused on x86 and x86-64 when handling an unknown number of return values. (Thanks to Fanael Linithien) the x86-64 backend is better able to use memory operands for arithmetic operations. compilation of TYPECASE to a jump table is enabled when all the types being tested are frozen. compilation of CASE and ECASE into a jump table has been implemented on 32- and 64-bit powerpc platforms. the implementation of Unicode normalization has been sped up. pretty-printing dispatch on conses is faster, particularly with the standard pretty-print dispatch table. Deeply-nested forms should also pretty-print faster.



New in version 1.5.9 Back to top platform support: a message intended to be more helpful will be displayed for an mmap failure on OpenBSD. the soft-float ABI on ARM32 is better supported, in particular in returning double floats from calls into C.

optimizations: CASE and ECASE with symbols as keys may be optimized into a vector lookup if all result forms are quoted or self-evaluating objects. CASE and ECASE can be optimized into a jump table on the x86[-64] backends with arbitrary result forms provided that the clause keys are either all fixnums, all characters, or all symbols. a number of forms are converted to use CASE in circumstances where that makes sense, including calls to POSITION, MEMQ and MEMBER, and TYPECASE where the types are MEMBER/EQL types. POSITION of a variable symbol in a constant sequence of symbols is converted to CASE and thence to a jump table. TYPECASE of a variable where the clauses are member types is converted to CASE and thence to a jump table. a number of slow instructions are no longer used on x86 and x86-64 machines. (Thanks to Fanael Linithien) the compiler is better at tracking the implications of branches after EQ and EQL tests. parsing &KEY lists is slightly less register-intensive. a pattern-based peephole optimizer pass has been added, running some simple transformations on the x86-64 backend.

enhancements: more thorough compile-time type checking of various initforms (defclass, &key, defstruct).

bug fix: unions of complicated CONS types are less likely to cause an infinite loop. (#1799719)

bug fix: DESCRIBE on functions not named by extended function designators no longer signals a type error. (#1850531, reported by Michal Herda)

New in version 1.5.8 Back to top platform support: support for Mac OS X Catalina improvements in interoperability with C code compiled with memory sanitization options libsbcl.so links to zlib when sb-core-compression is enabled. (#1845763, thanks to Juan M. Bello-Rivas) workarounds for BSD issues around mmap() and pthread_attr_setstack(). (#1845936) support SSE for bzero if available on OpenBSD

optimizations: improved type understanding and translations for division operators (including TRUNCATE, GCD, LCM). sequential comparisons and branches can elide intermediate comparisons. (#1847284) convert EQUAL and EQUALP to EQL if either of the arguments is a type for which the structural equality predicate is identical to the simpler equality check. (#1848583) internal operators implementing string comparisons produce simpler-to-consume values. (#1848776)

bug fix: inspecting adjustable arrays and vectors with fill pointers works better. (#1846191, reported by Yves Pagani)

New in version 1.5.7 Back to top platform support: many bug fixes to the experimental 64-bit PowerPC/Linux port, to the extent that the little-endian variant passes all applicable tests in the regression test suite; the big-endian variant currently has some failures experimental support for sb-threads on 64-bit PowerPC/Linux support threads on x86-64 Sun OS (#1841280) handle PAX restrictions on mprotect() on NetBSD experimental support for HaikuOS the runtime is built as a position-independent executable by default on x86-64 Linux and x86-64 Darwin

fixes and enhancements related to Unicode: update of the data files to Unicode 8.0 fix a bug in the implementation of the Unicode line breaking algorithm regarding hebrew letters and hyphens

enhancement: add a restart to OPEN with :IF-EXISTS :ERROR to allow re-opening with :APPEND. (#806398, reported by Tobias Rittweiler)

bug fix: compiler optimizations on SEARCH with :FROM-END T didn't account for the empty sequence. (#1844821)

bug fix: handle SETF of nested empty VALUES correctly. (#1806478)

optimization: FLOOR and CEILING on rationals are simpler, and the compiler's understanding of them is better.

New in version 1.5.6 Back to top platform support: experimental support for 64-bit PowerPC running Linux (extending Brian Bokser's work from 2018), on both the v1 and v2 ABIs

new feature: SB-EXT:SEARCH-ROOTS discovers paths from live objects to the roots keeping them alive.

enhancement: string output streams created with :ELEMENT-TYPE 'BASE-CHAR use internal buffers of BASE-STRING instead of UCS-4 strings restricted to the ASCII range, yielding a theoretical 4:1 space reduction.

optimization: improved make-array type derivation for multi-dimensional arrays. (#1838442)

bug fix: compliant redefinition of classes whose previous definition caused argument mismatch errors does not generate errors any more. (#1840595, reported by 3b on #sbcl)

bug fixes for issues caught by the random tester: never derive the type of TRUNCATE on arbitrary numbers as the empty type. (#1838267) provide out-of-line definitions for internal machinery related to FLOAT-SIGN. (#1838337) include COMPLEX in the derived type of SIGNUM when appropriate. (#1838333) more correct internal type testing for function types. (#1838808, #1838888, #1838986) don't assume that all objects of type (NOT SIMPLE-ARRAY) have an array header. (#1838827) recognize that PHASE on non-positive numbers can return 0 as well as PI. (#1838892)



New in version 1.5.5 Back to top platform support: SunOS: bug reports and patches from Richard Lowe in sb-posix tests (#1837495), sb-concurrency tests (#1837817), unencapsulated tracing (#1837307), float registers in interrupt contexts (#1837168)

bug fix: do not generate version.lisp-expr from git describe if the git repository is not sbcl's own. (#1836663, thanks to Richard Lowe)

bug fix: compiler crash related to VALUES-LIST on a &REST argument in some contexts. (#1836096, reported by Samuel Jimenez)

bug fix: compiler hang related to constraint propagation. (#1835599, reported by Mark Cox)

bug fix: the inspector showed the wrong array element type. (#1835934, reported by Richard M Kreuter)

optimization: numerous improvements to hash table access and rehashing

optimization: ASSERT compiles into substantially more compact code. (#1835221)

New in version 1.5.4 Back to top minor incompatible change: hash tables on 64-bit machines consume roughly 20% less memory but can only grow to hold 2^31 entries (theoretically) due to use of 31-bit indices internally.

platform support: RISC-V: improve rotate-byte support (thanks to Philipp Matthias Schaefer)

bug fix: the system reasons more correctly regarding the array rank of complicated array types. (reported by Bart Botta)

bug fix: DOUBLE-FLOAT-P never gets weaked to NUMBERP. (reported by Bart Botta)

enhancement: the regression test suite can now benefit from paralellism, completing much faster when enough compute power is available.

optimization: readtables with non-base-char dispatch characters are less inefficient.

optimization: INTERN performs fewer redundant type checks.

optimization: tests for PATHNAMEP and STRUCTURE-OBJECT (including in computing hash functions) are faster.

New in version 1.5.3 Back to top platform support: RISC-V: numerous bug fixes and improvements all platforms: better run-program performance when used from multiple threads.

enhancement: (declaim (optimize (debug 2))) ensures compilation of top-level forms, providing better debugging for simple forms that are otherwise "byte-code interpreted" when compiled into FASLs.

bug fix: use of finalizers could in rare circumstances cause a crash in the garbage collector.

bug fix: show extended function designators, e.g. (setf foo), in the disassembler

optimization: reduced overhead of calling NTH/NTHCDR.

optimization: improved FLOAT-SIGN on DOUBLE-FLOATs on 64-bit platforms

New in version 1.5.2 Back to top enhancement: RISC-V support with the generational garbage collector.

enhancement: command-line option "--tls-limit" can be used to alter the maximum number of thread-local symbols from its default of 4096.

enhancement: better muffling of redefinition and lambda-list warnings

platform support: OS X: use Grand Central Dispatch semaphores, rather than Mach semaphores Windows: remove non-functional definition of make-listener-thread

new feature: decimal reader syntax for rationals, using the R exponent marker and/or *READ-DEFAULT-FLOAT-FORMAT* of RATIONAL.

optimization: various Unicode tables have been packed more efficiently

New in version 1.5.1 Back to top enhancement: restarts for missing package errors.

optimization: FIND-PACKAGE should be faster even when run in the context of a package with local package-nicknames.

optimization: fix TRUNCATE deftransform's results to have well-defined signs

bug fix: thread-safety problems in RUN-PROGRAM with :PTY.

bug fix: SLEEP transform could never fire.

build enhancement: defend against quirky host floating point implementation

test enhancement: allow more parallelism in running the regression test suite

New in version 1.5.0 Back to top enhancement: SB-COVER emulates IN-PACKAGE when recording source maps; this makes it possible to generate coverage for forms that uses local package nicknames, or otherwise must be read in the correct package.

build enhancement: new host quirks mechanism, support for building under ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself)

optimization: (FIND-SYMBOL x "P") for constant "P" executes faster, subject to "P" not being a package-local nickname of any package. Similarly INTERN. (#1814924)

optimization: bounds checks are elided when possible where the same array is dereferenced multiple times.

bug fix: initargs are now deduplicated when computing effective slots.

bug fix: TREE-EQUAL with :TEST 'EQL now correctly computes its answer. (reported by Bahodir Mansurov)

bug fix: compiled (COERCE x 'FLOAT) no longer coerces double-floats into single-floats. (reported by J. Gareth Williams)

New in version 1.4.16 Back to top minor incompatible change: ENSURE-DIRECTORIES-EXIST no longer establishes a CONTINUE restart in case of an error.

minor incompatible change: Defining macros (DEFVAR, etc) which require a symbol as the name will fail to macroexpand if given a non-symbol.

enhancement: the unexported restart names SB-{ALIEN,FASL,IMPL,PCL}::RETRY have been replaced by SB-EXT:RETRY.

New in version 1.4.15 Back to top enhancement: added AVX2 instructions on x86-64, which can be used with SB-SIMD-PACK.

enhancement: specializer name parsing is less lenient and signals a specific condition in case of syntax errors. (#1808681)

enhancement: provide interactive restarts for some file-system errors.

enhancement: COMPILE no longer acquires the world lock. (fixes most occurrences of #308959)

bug fix: RUN-PROGRAM is more responsive and less likely to deadlock (#1702178, #1808641)

bug fix: traceroot can search for simple-fun targets (#1808659, reported by Michal Herda)

compiler bug fixes: related to code generation: #1805899, #1806982, #1807455 related to interpreting and constant-folding: #1806513 related to the type system: #1804759, #1804796 related to eq-testing of structure slots: #1809582, #1808273 related to dynamic-extent: #1809565, #1809253, #1809485, #1739652 related to GC safety: #308949



New in version 1.4.14 Back to top enhancement: attempting to build on openbsd 6.0 or newer without the wxallowed mount option now results in a more useful error message.

enhancement: by popular demand, SB-EXT now exports two functions HEAP-ALLOCATED-P and STACK-ALLOCATED-P to assist in writing debug assertions that objects in hash-tables are not stack-allocated, etc.

bug fix: restored sb-thread support on OpenBSD.

New in version 1.4.13 Back to top minor incompatible change: PRINT-TYPE and PRINT-TYPE-SPECIFIER are not exported from SB-EXT. These were never announced, so this change would only affects users who discovered these undocumented functions.

enhancement: SB-EXT:SEARCH-ROOTS and SB-EXT:GC-AND-SEARCH-ROOTS are supported on all backends that use gencgc.

New in version 1.4.12 Back to top minor incompatible change: a number of platform-specific elements of *FEATURES* related to whether the system implements particular strategies have been removed.

minor incompatible change: some changes to the (internal) implementation details of the x86 and x86-64 have necessitated changes to some low-level libraries.

enhancement: attempting to transfer control through GO or RETURN-FROM to frames which no longer exist are now caught and handled by the debugger.

enhancement: identical code (at the machine instruction level) can now be shared between functions, if explicitly requested.

enhancement: SB-EXT:STRING-TO-OCTETS and SB-EXT:OCTETS-TO-STRING are now documented.

bug fixes: fix a number of bugs revealed by random testing (#1793171, #1793150, #1791550, #1792030, #1791059, #1790157, #1790717, #1790703)

New in version 1.4.11 Back to top minor incompatible change: changes to the (internal) assembler on x86 and x86-64 may cause problems to some low-level third-party libraries: new macro EA for defining an effective address, without size information; an explicit size modifier is now needed for MOVSX and MOVSZ instructions; MOVD and MOVQ move a single size of operand by definition.

enhancement: support the latest MinGW (#1786731, reported by il71)

enhancement: checks for modifications of constants can now be done in local (FLET/LABELS) functions.

optimization: improved type checking routines for various compound types.

optimization: array bound checks are elided on vectors when the index is known to be less than the length, including LOOP ACROSS.

optimization: the register allocator's use of temporaries is somewhat improved.

optimization: checking widetags involves fewer conditional jumps on x86 and x86-64.

bug fix: fix a number of bugs related to constant improper lists as sequence arguments (#1768563, #1768568, #1768652)

New in version 1.4.10 Back to top enhancement: added SB-EXT:MAKE-WEAK-VECTOR.

enhancement: constant-modification detection warnings can be generated in the presence of conditional constructs.

optimization: better bounds-checking on x86[-64] and ARM64.

optimization: adding 1 to or subtracting 1 from a fixnum variable does not cons.

bug fixes: fix a number of bugs revealed by random testing (#1782826, #1779878, #1779737)

New in version 1.4.9 Back to top enhancement: SB-COVER instrumentation for x86[-64] has signficantly less overhead. The performance penalty for 64-bit code has been measured at around 30% slower than uninstrumented code as contrasted with slowdowns in excess of 100% previously.

enhancement: tracing a generic function with the :METHODS T option produces output corresponding to each method called under the default :ENCAPSULATE NIL tracing implementation.

bug fix: updated TRACE documentation. (#574614 was actually already fixed, but there were other issues.)

bug fix: fixed x86 GC bug causing heap corruption. (#1749369)

bug fix: improved compatibility with macOS High Sierra and graphical applications.

New in version 1.4.8 Back to top bug fix: redefinition of method combinations now does the expected thing; generic functions using that method combination have their effective methods lazily recomputed according to the new definition of the method combination. (Reported by Didier Verna at ELS 2018)

bug fix: :arguments argument to the long form of DEFINE-METHOD-COMBINATION is now implemented more correctly, supporting suppliedp variables and &optional defaults. (Reported by Bruno Haible, #309084)

New in version 1.4.7 Back to top enhancement: better handling of unknown keyword arguments (#1750466)

enhancement: namestrings can now be computed for certain pathnames that previously did not have namestrings because of #\. characters in their name and/or type components.

bug fix: compiling a SLEEP call with a float positive infinity argument no longer causes an internal error (#1754081)

bug fix: keyword arguments provided to a generic function with EQL-specialized methods are checked more correctly (reported by Syll, #1760987)

New in version 1.4.6 Back to top enhancement: DISASSEMBLE on a symbol naming a macro will disassemble the expander, not the code that traps attempted FUNCALL of the macro.

enhancement: The sb-sprof contrib now provides an experimental interface for accessing collected profiler data.

enhancement: The instruction-level profiling of the sb-prof contrib annotates the disassembler output more efficiently.

optimization: improved dynamic-extent handling of nested variables.

New in version 1.4.5 Back to top minor incompatible change: building with/without the :sb-package-locks feature is no longer an option. Package locks are always compiled in, and removing :sb-package-locks from *features* will have no effect.

enhancement: FIND-PACKAGE does not acquire a mutex

enhancement: cheneygc can perform heap relocation on startup

enhancement: in threaded builds, finalizers execute in a system-internal thread so that a user thread which invokes GC is unblocked from performing work as soon it returns from GC and invokes any post-GC hooks. As such, it is more important than before to avoid assumptions about special variable bindings in finalizers, even in single-threaded code.

optimization: faster (funcall (or function symbol)) on x86-64.

New in version 1.4.4 Back to top bug fix: pathname accessors such as PATHNAME-DIRECTORY work on SYNONYM-STREAMs.

bug fix: (pathname-{device,directory,name,type} ... :case :common) works as expected. In particular MAKE-PATHNAME composed with the accessors roundtrips properly when both use the same :case. (#1739906)

bug fix: DIRECTORY no longer gets confused when the value of *DEFAULT-PATHNAME-DEFAULTS* has a name or type component. (#1740563)

bug fix: pattern pieces in pathname components are correctly escaped during unparsing.

bug fix: DELETE-DIRECTORY no longer signals an error when the directory is supplied as a pathname with name and/or type components containing escaped characters. (#1740624)

bug fix: weak hash-tables no longer cause GC time to scale superlinearly (#1241771)

bug fix: CANCEL-FINALIZATION operates in approximately constant time per operation (#1587983)

bug fix: big-endian MIPS systems now (mostly) work again (broken since 1.3.14.x).

bug fix: backtrace from arg-count errors on systems other than x86, x86-64, ARM, and ARM64 now works again.

bug fix: backtrace from asynchronous interrupts on non-x86, non-x86-64 systems should now be more reliable.

enhancement: warnings and errors referring to bindings established by LET, LET*, FLET and LABELS point to the offending form more accurately.

enhancement: backtrace for invalid argument count produces the exact supplied arguments including the extra ones on all platforms (no longer just x86, x86-64, ARM, and ARM64).

New in version 1.4.3 Back to top enhancement: SLEEP respects deadlines established by SB-SYS:WITH-DEADLINE.

bug fix: DECODE-TIMEOUT and operators accepting a timeout no longer signal an error when called with an argument that is of type (real 0) but not (unsigned-byte 62) (#1727789)

bug fix: fixed heap exhaustion bug when consing millions of small objects

bug fix: sb-safepoint builds are now a lot less prone to deadlocks and odd crashes (#1424031, #1268710)

bug fix: argumentless CALL-NEXT-METHOD where specialized-to-T or unspecialized parameters are mutated now uses the original (non-mutated) parameter values (#1734771)

bug fix: memory faults from lisp no longer use (thread-and-interrupt unsafe) global storage for fault addresses (everywhere), and now have cleaner backtraces (on x86 and x86-64). (#309068)

bug fix: pathnames with a directory component of the form (:absolute {:up,:wild,:wild-inferiors}) no longer fail to unparse. (#1738775)

bug fix: more reliable signal handling on macOS.

New in version 1.4.2 Back to top minor incompatible change: SB-EXT:QUIT is no longer marked as deprecated and behaves like SB-EXT:EXIT.

enhancement: ASDF updated to 3.3.1. The ASDF release is dedicated to the late Elias Pipping who put enormous amounts of work into it despite his terminal illness. Thank you and rest in peace. (#1681201)

enhancement: alien routines compiled with '-fsanitize=thread' and/or '-fsanitize=memory' cause fewer false positives in error reporting.

optimization: fewer instances of consing float constants at runtime.

bug fix: a number of compiler bugs detected by Paul F. Dietz' randomized tester. (#1731503, #1730699, #1723993, #1730434, #1661911, #1729639, #1729471, #1728692)

bug fix: better errors from NAMESTRING and friends on pathnames with no namestrings. (#792154)

bug fix: EQUAL and EQUALP compiler transforms were too confident in deriving a result. (#1732277, #1732225)

bug fix: FILL sometimes returned the underlying data vector rather than the given array. (#1732553)

bug fix: SEARCH returned the wrong answer in some cases. (#1732952)

bug fix: the type (COMPLEX INTEGER) behaves more as specified by Function TYPEP, which has stronger constraints than System Class COMPLEX. (Reported by Eric Marsden, #1733400)

New in version 1.4.1 Back to top optimization: faster foreign callbacks.

enhancement: complex arrays can be stack allocated.

enhancement: PROCESS-KILL now exists on win32 and PROCESS-PID actually returns the PID.

optimization: the register allocation method used by the compiler when optimizing for speed is now faster for functions with large bodies.

bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION works on big-endian CPUs (fixes #490490 for real rather than by disabling a test)

bug fix: code objects and bignums of large enough size to be placed on GC pages without any other object no longer cause accidental copying during garbage collection. (gencgc only)

bug fix: sb-fasteval failure with 0-argument lambdas (#1722715)

bug fix: RUN-PROGRAM doesn't leak handles on win32 and PROCESS-CLOSE doesn't crash. (#1724472)

New in version 1.4.0 Back to top minor incompatible change: DESTRUCTURING-BIND treats non-toplevel () as nested empty pattern. This seems to be what the standard mandates, so conforming code should not be affected.

ehancement: (GC :GEN 7) with gencgc will zero-fill dead pseudo-static objects so that they do not spuriously cause reachability of objects that would have been otherwise dead.

enhancement: PROCESS-STATUS now tracks stopped and continued processes properly (also fixes #1624941, based on patch by Elias Pipping).

bug fix: INSPECT handles errors signaled while printing slot values. (#454682)

bug fix: DESCRIBE works on classes like it used to.

bug fix: *LOAD-PATHNAME* and *LOAD-TRUENAME* are bound to pathnames when processing a sysinit or userinit file

bug fix: save-lisp-and-die is able to collect more garbage on non-x86oid gencgc targets.

bug fix: fixed out-of-bounds array read in optimized POSITION on bit-vectors

bug fix: signal emulation respects the 128-byte stack red zone on x86-64 macOS.

New in version 1.3.21 Back to top minor incompatible change: the CLOBBER-IT restart for defstruct redefintion has been removed after a 15 year deprecation cycle. Use the new name, RECKLESSLY-CONTINUE. Note also that this restart is hidden if deemed unsafe due to altered placement of untagged slots in the structure.

enhancement: the assignment of -DSBCL_PREFIX= in src/runtime/GNUmakefile can be removed as a local patch, which results in an sbcl executable that finds its core file relative to itself by looking in "../lib/sbcl".

enhancement: backends using the generational GC are able to relocate dynamic space anywhere the operating system places it. This feature can be disabled by removing :relocatable-heap from the build configuration. Not supported on Windows.

enhancement: DEFMETHOD no longer signals IMPLICIT-GENERIC-FUNCTION-WARNING.

enhancement: better type conflict detection for high order functions, e.g. (find x "123" :test #'=)

enhancement: the tabular output of ROOM is aligned dynamically, preventing misaligned tables for larger sizes or counts.

enhancement: ROOM reports on immobile space if applicable.

optimization: optimized external-format routines.

bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION returns :IMMOBILE instead of :FOREIGN for objects in immobile space.

bug fix: dotted lists in special forms and function call forms signal an appropriate error

bug fix: EQUALP hash tables with pathname keys now ignore internal slots. (#1712944, reported by Jason Miller)

New in version 1.3.20 Back to top minor incompatible change: DEF{GENERIC,METHOD} no longer accept some illegal lambda lists such as (defgeneric bar (foo &key foo)) or (defgeneric baz (t)) that were accepted before.

optimization: a valueless &AUX binding in a BOA constructor does not force all slots reads in safe code to perform a full type check.

optimization: ATOMIC-PUSH and ATOMIC-POP generate better code

bug fix: the low-level debugger would erroneously print - or not print as the case may be - "(bad-address)" for some objects depending whether the --dynamic-space-size argument was used at Lisp startup

bug fix: a DEFCONSTANT with a non non-eql-comparable object as the value could cause miscompilation if that constant appeared as the default expression for an &OPTIONAL binding

bug fix: generic function lambda lists are now checked for repeated and otherwise illegal entries. (#1704114)

bug fix: setting gencgc_verbose = 1 could cause deadlock in fprintf() depending on the platform's stdio implementation. The relevant code has been changed to use snprintf() and write() instead.

New in version 1.3.19 Back to top enhancement: specialized arrays can be printed readably without using *read-eval*

enhancement: SB-DEBUG:PRINT-BACKTRACE truncates huge string arguments. The full string remains available for inspection via (SB-DEBUG:ARG).

bug fix: backtracing from several threads at once could fail

bug fix: floating-point infinities could not be used as keys in EQUALP hash tables. (#1696274)

bug fix: random sb-fasteval failures. (#1642708)

bug fix: align the stack in callback wrappers to defend against C compiler over-aggressive use of SIMD. (#1697528)

bug fix: don't try to find the class when reporting that a class does not exist for a primitive type. (#1697226)

New in version 1.3.18 Back to top minor incompatible change: existing values of CFLAGS, ASFLAGS, CPPFLAGS, and LINKFLAGS will be incorporated into C compiler invocations when building from source.

minor incompatible change: the result of WRITE-TO-STRING may be a BASE-STRING if all characters written are of type BASE-CHAR.

minor incompatible change: the broadcast stream with no output streams is a singleton object. That object satisfies OPEN-STREAM-P regardless of how many times CLOSE is invoked on it.

enhancement: x86[-64] backends contain an experimental feature which aids in demonstrating reachability of any object starting from a tenured object or a thread stack by producing a proof as a sequence of pointers to follow. The file "tests/traceroot.test.sh" contains an example usage.

enhancement: if the alien symbol "gc_coalesce_string_literals" is set to 1 prior to SAVE-LISP-AND-DIE, then similar string constants loaded from different fasl files may be collapsed to one object. If the variable is set to 2, then additionally strings which are STRING= in code resulting from COMPILE can be coalesced. For instance, two functions returning the literal string "HI" might return EQ strings after collapsing, which may be undesired in a particular use. The flag pertains to gencgc only.

enhancement: SXHASH values on pathnames are better distributed

bug fix: MAKE-PATHNAME removes empty strings as components of a directory, as is permitted: "Whenever a pathname is constructed the components may be canonicalized if appropriate."

optimization: various printer and FORMAT performance enhancements.

bug fix: GET-FOREGROUND no longer fails in case all other interactive threads exit (#1682671, reported by Syll)

bug fix: RELEASE-FOREGROUND always removes the current thread from the list of interactive threads. (#1682867, reported by Syll)

New in version 1.3.17 Back to top enhancement: memory overhead from the garbage collector's metadata is reduced on 64-bit architectures; no change for 32-bit.

enhancement: further garbage collector speedups affecting pinned objects on conservative backends, and simple-vectors.

enhancement: on Linux a custom handler for SIGSEGV can be called for page faults outside of dynamic space by changing the C symbol "sbcl_fallback_sigsegv_handler".

bug fix: sb-cover does not lose source positions for AND/OR/COND.

bug fix: random disassembler failures. (#1527931)

The bundled sb-md5 contrib has been updated to release 2.0.4 which is licensed under Creative Commons CC0 per author's statement https://github.com/pmai/md5/commit/fd134e71b71a10ab78905833a7cb9d4d6817c589 (Refer to NEWS and COPYING in the contrib/sb-md5 subdirectory)

New in version 1.3.16 Back to top optimization: various small tweaks give around 5% faster garbage collection

bug fix: better detection of when an impossible code path does not need a warning. (#1668619)

bug fix: stronger attempts to disable position-independent executable building. (#1668986, patch from Mark Wright)

bug fix: OPEN :IF-EXISTS NIL signalled a condition on Windows. (#1674437, reported by Jan Idzikowski)

New in version 1.3.15 Back to top minor incompatible change: the reader will when feasible create new symbols using a BASE-STRING for the print name. Additionally, string literals can favor the base-string type if desired, though the default is to always return UTF-32 strings for compatibility. A preference for base-string does not disable reading Unicode. The choice is controlled via (SETF READTABLE-BASE-CHAR-PREFERENCE). If Unicode was disabled at build time, this setting does nothing.

enhancement: SBCL generates more debug information by default.

enhancement: type errors provide context information, such as which variable is being bound, which slot of which structure is being set.

enhancement: if #+immobile-symbols is in build-time *FEATURES* (not enabled by default), then symbols will never be moved in memory except by SAVE-LISP-AND-DIE. Immobility has helpful implications for code generation as well as interaction with foreign routines. This feature can only be enabled if #+immobile-space is enabled.

enhancement: undefined function errors can be restarted on x86-64, to either retry calling the function again or call a user supplied function.

enhancement: sb-ext:restrict-compiler-policy accepts an upper bound in addition to a lower bound.

enhancement: #+immobile-code improves the speed of function calling. Some delay may be noticed when redefining an existing function from a saved core file however.

defaults change: sb-ext:*disassemble-annotate* default to NIL, due to its poor reliability.

new feature: SB-LINKABLE-RUNTIME, allowing linking with extra object files to help with delivery of executables. (Thanks to François-René Rideau)

bug fix: data race in GENTEMP fixed - it can no longer return the same interned symbol to multiple threads if called concurrently

bug fix: interrupting LOADing of FASLs does not leave functions without source locations. (#540276)

bug fix: DYNAMIC-EXTENT-declared results of NOTINLINE local functions were treated as if they were actually stack allocated (#1659964)

bug fix: correctly handle the case of a non-local exit within a function terminating the extent of dynamic-extent, dynamic-bound variables in the presence of multiple-values (#1655011)

bug fix: handling of SB-SYS:WITH-PINNED-OBJECTS in the interpreters (both sb-eval and sb-fasteval) now actually pins objects on gencgc.

bug fix: AVX registers are preserved during exceptions on x86-64 macOS.

bug fix: (directory "SOMETHING/*/**/MORE") is no longer equivalent to (directory "SOMETHING/**/MORE")

bug fix: better console IO on Windows (#1660906)

New in version 1.3.14 Back to top minor incompatible change: the SB-PCL walker no longer recognizes macros expanding into a DECLARE expression. This is not a language change, since ANSI forbids such usage (X3J13 issue DECLARE-MACROS:FLUSH).

enhancement: for several macros such as MULTIPLE-VALUE-{BIND,SETQ}, COND, DO{,*,LIST}, {RESTART,HANDLER}-{BIND,CASE}, *CASE, conditions signaled during macroexpansion point to the form that caused the problem more accurately.

enhancement: the "--noinform" command-line option inhibits output from save-lisp-and-die in addition to removing the startup banner.

bug fix: PROCESS-KILL failed to return errno if the system call failed

optimization: slightly more comprehensive treatment of the keyword arguments to MAKE-ARRAY in compiler transformations.

New in version 1.3.13 Back to top enhancement: SET triggers package locks on undefined variables. (#1645152)

enhancement: new Windows specific option to run-program, :escape-arguments (#1503496)

enhancement: recompiling a MAKE-INSTANCE form with an initarg :INITARG CONSTANT where CONSTANT names a constant variable picks up the new value of CONSTANT in case it has been redefined. (#1644944)

optimization: faster TYPEP on undefined at compile-time types and upcoming class definitions. (#1082967)

optimization: memory consumption of each STANDARD-OBJECT instance is reduced by 2 words if the compact-instance-header feature is enabled.

optimization: CONDITION instances are quicker to allocate.

optimization: unoptimized calls to FILL on specialized vectors are now just as fast as T vectors.

bug fix: get-timezone returns corret DST on 64-bit Windows. (#1641058)

bug fix: cross reference information in fasls is no longer incompatible between different cores (#1648186)

New in version 1.3.12 Back to top enhancement: on x86-64, compiled functions loaded from fasl files can not be moved, but can be freed, by GC. Additionally, COMPILE will produce immobile code if SB-C::*COMPILE-TO-MEMORY-SPACE* is set to :IMMOBILE. (Caution: the flag is experimental and subject to change.) The benefits are better physical separation of code from data, and potentially easier examination of live images by external tools.

enhancement: the docstring for SAVE-LISP-AND-DIE has been amended to say that the :ROOT-STRUCTURES parameter is not meaningless on gencgc, depending on the platform.

bug fix: calling a named function (e.g. a DEFUN) concurrently with redefining that same function could lead to execution of random bytes.

bug fix: yes-or-no-p accepts formatter functions (#1639490)

bug fix: better handling of exceptions on macOS.

New in version 1.3.11 Back to top minor incompatible change: SB-EXT:*INTEXP-MAXIMUM-EXPONENT* is removed.

enhancement: TRACE ... :REPORT {TRACE,NIL} now work as advertised in the documentation string (based on patch by Patrick Stein)

enhancement: support unboxed signed-word structure slots on x86, x86-64 and ARM64. (#377616)

optimization: faster logical bit-array operations on multidimensional arrays.

optimization: better GC performance in the presence of many threads. (patch by Ilya Perminov, #1339924)

optimization: multiple-value-call is optimized with multiple argument forms, not just one. (#753803)

bug fix: MAKE-ALIEN-STRING returns the number of allocated bytes as a second value as advertised (reported by Johann 'Myrkraverk' Oskarsson)

bug fix: when TO-READTABLE is supplied to COPY-READTABLE, it will contain only the macros in FROM-READTABLE and no others. (#1631506)

enhancement: gencgc has been modified for x86-64 on Linux and macOS to a support mark-and-sweep as well as the traditional copying strategy. It is conceivable that some applications might be adversely affected. Please see ':immobile-space' in 'base-target-features.lisp-expr' for further details, and possible reasons to disable this feature.

enhancement: x86-64 supports shrinking the fixed overhead in a structure from 2 words to 1 word, reducing memory consumption in applications which create many small structures.

New in version 1.3.10 Back to top enhancement: more compact low-level error signaling code

enhancement: more compact encoding of cross-reference information

optimization: faster out of line fixnum-float comparisons.

optimization: filling a known simple-vector with a constant value is about as fast in unoptimized code as in code compiled with (SPEED 3), and the x86-64 implementation is able to use SSE instructions.

bug fix: correctly handle the case of a non-local exit within a function terminating the extent of dynamic-extent functions and variables in the presence of multiple-values (#1563127)

bug fix: restore builds on the latest OSX with the latest Xcode (#1470996)

New in version 1.3.9 Back to top minor incompatible change: NAMESTRING prefers to return a BASE-STRING instead of (ARRAY CHARACTER (*)) when possible.

enhancement: cached make-instance/allocate-instance constructors can now get garbage collected.

optimization: better performance for some unoptimized operations on complex numbers.

bug fix: using the options :LOCAL-NICKNAMES and :LOCK in the same DEFPACKAGE form no longer signals a bogus error

New in version 1.3.8 Back to top minor incompatible change: the system now understands that the CONDITION type is disjoint with many other system types.

minor incompatible change: argument types in condition report functions are now declared (in combination with the above change, this can result in early detection of erroneous code).

enhancement: simple arrays of any rank can be stack-allocated on platforms supporting stack allocation of vectors.

optimization: improved type derivation for FIND, POSITION, COUNT, SEARCH, MISMATCH and other array and sequence functions.

optimization: ALLOCATE-INSTANCE is now as fast as MAKE-INSTANCE.

optimization: more efficient CHANGE-CLASS.

bug fix: versions of getresuid() and getresgid() in SB-POSIX no longer cause memory faults, and should work properly (#1603806, reported by Kieran Grant)

bug fix: handle ENOENT from getprotobyname() (#1596043, reported by Stephen Hassard)

New in version 1.3.7 Back to top bug fix: preserve the name of the destructive function for the destroyed constant and important result warnings, even when declared NOTINLINE.

optimization: faster operations on list-sets.

optimization: better type derivation of set functions. (#1592152)

optimization: load-time TLS-INDEX assignment, and other microoptimizations, on x86.

optimizations in: APPEND; ECASE/ETYPECASE; ARRAY-DIMENSIONS; ARRAY-TOTAL-SIZE; REMOVE, REMOVE-DUPLICATES, DELETE and DELETE-DUPLICATES on lists.



New in version 1.3.6 Back to top bug fix: do not insert conditional newlines in print-unreadable-object (#1398290). This reverses a change made in #488979 which reversed a fix advertised in release 0.8.14 to pass the GCL ANSI Test Suite.

bug fix: constant negative rotations of 32-bit quantities are compiled correctly on x86-64 and arm. (#1586614, reported by Guillaume Le Vaillant)

New in version 1.3.5 Back to top enhancement: the platform's strtod() is exposed as SB-POSIX:STRTOD

enhancement: speed up debug info creation for highly nested functions. (#1563355)

enhancement: the interleaved structure slot optimization from release 1.2.6 has been ported to all architectures.

enhancement: support run-program I/O redirection into lisp streams on Windows.

bug fix: better wording in missed optimization note. (#1003265)

bug fix: interpreted (CAS SVREF) was broken

bug fix: support CLISP as build host for ARM (#1568256, thanks to Tomas Hlavaty)

New in version 1.3.4 Back to top enhancement: who-sets and who-references work on DEFGLOBAL. (#1552997)

enhancement: CONSTANTP understands backquote. e.g. (CONSTANTP '`(0 (,CHAR-CODE-LIMIT))) => T

optimization: improvements to sequence functions: CONCATENATE, SUBSTITUTE, REVERSE.

bug fix: SB-EVAL does not signal an error for (THE KEYWORD :FOO)

bug fix: a DEFTYPE name that is redefined into a DEFSTRUCT name is less likely to cause confusion in the compiler.

bug fix: DOCUMENTATION works as intended for classes with non-standard metaclasses

bug fix: (TYPEP <extended-sequence> <extended-sequence-class>) no longer returns NIL in certain situations

bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE accept class objects as result-type

bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE expand DEFTYPEs in result-type

New in version 1.3.3 Back to top enhancement: warn about argument mismatch for functions passed as arguments to other functions (e.g. REDUCE, MAP) at compile-time.

optimization: functions accepting other functions (e.g. REDUCE, FIND) can now be constant-folded if all function arguments are declared as foldable.

optimization: improved logical operations on integers of unknown type.

bug fix: exception handling no longer leaks memory on OS X. (#326238)

New in version 1.3.2 Back to top enhancement: {READ,WRITE}-SEQUENCE are much faster for some combinations of short sequences and stream types

enhancement: MAKE-LIST's result can be stack-allocated on x86-64

bug fix: WRITE-SEQUENCE no longer fails to write lists containing integers to bivalent streams

bug fix: LOGTEST (and hence ODDP) no longer conses when given fixnum arguments and small bit positions. (#1277690)

bug fix: READ-FROM-STRING compiler-macro does not permute its arguments

bug fix: DEFUN of a function name that collides with a system-generated structure accessor does not confuse the runtime. (#540063)

bug fix: heap corruption from miscompiled RESTART-BIND. (#1530390)

New in version 1.3.1 Back to top enhancement: SB-THREAD support for ARM64.

enhancement: compiling an out-of-line DEFSTRUCT constructor call will warn if a defaulted value is incompatible with its slot type.

enhancement: a local INLINE declaration on a structure constructor will work as intended, subject to any other factors that inhibit inlining, even if the DEFSTRUCT was not itself within a global INLINE proclamation for the named constructor

enhancement: SB-EXT:DYNAMIC-SPACE-SIZE is now defined for cheneygc.

enhancement: x86[-64] platforms support SB-EXT:CAS on structure slots of type SB-EXT:WORD

enhancement: the interleaved structure slot optimization from release 1.2.6 has been ported to 32-bit x86, Sparc, PowerPC, ARM64.

enhancement: SB-THREAD:JOIN-THREAD signals a proper error when an attempt is made to join the current thread

bug fix: NTH-VALUE does not cause stack overflow. (#1511419)

bug fix: structure constructor type checking is better. (#1508735)

bug fix: supplied-p variables for unused optional or keyword variables no longer confuse SB-DI:PARSE-COMPILED-DEBUG-FUN-LAMBDA-LIST (and thus the backtrace machinery) (#1498644)

bug fix: Backtrace correctly handles undefined-function frames on MIPS.

bug fix: WITH-FLOAT-TRAPS-MASKED correctly clears accrued traps on MIPS (fixes issues with floating-point type derivation in the compiler).

bug fix: FLOAT-NAN-P and FLOAT-TRAPPING-NAN-P now work correctly on MIPS and HPPA.

bug fix: MIPS context register access now masks to 32 bits (fixing issues parsing negative-fixnum values for internal-error arguments and escaped debug variables on 64-bit CPUs).

bug fix: (SETF SAP-REF-DOUBLE) with constant offset on big-endian MIPS now works correctly.

bug fix: Callback parameter (argument) handling on MIPS is now vastly more correct.

bug fix: %DECREMENT-SEMAPHORE adjusts the remaining timeout after a spurious wakeup

New in version 1.3.0 Back to top minor incompatible change: the environment passed to a macro/setf/deftype expander is not always an object of type SB-KERNEL:LEXENV. It can be nil, as is permissible by the standard.

enhancement: ported to ARM64 Linux.

enhancement: a new interpreter is included which has many benefits over sb-eval. It is disabled by default. See src/interpreter/README for instructions to enable it, and further details.

bug fix: calling COMPILE when SB-EXT:*EVALUATOR-MODE* was :INTERPRET would fail to perform "normal semantic processing such as macro expansion" as stipulated by X3J13 issue LOAD-TIME-EVAL.

bug fix: SB-UNICODE:CONFUSABLE-P no longer treats "<" and the empty string as confusable. (#1504739)

bug fix: (ASSERT (COMPUTE-IT ...)) would expand incorrectly if COMPUTE-IT was a local macro that shadowed a global function.

bug fix: SB-POSIX:CFSETISPEED and SB-POSIX:CFSETOSPEED now work properly on platforms that use only the minimum specified set of fields in struct termios (verified on Linux, still known not to work on FreeBSD and NetBSD, very probably others). (partial fix for #1500951)

New in version 1.2.16 Back to top enhancement: by default, timers with a repeat interval do not "catch up" by repeatedly calling their function after a clock discontinuity such as a suspend and resume cycle

bug fix: correctly restore multiple values on the stack in the presence of alien calls. (#1489590)

bug fix: MAKE-STRING-OUTPUT-STREAM enforces that :ELEMENT-TYPE is a subtype of CHARACTER.

bug fix: an EQL method specializer no longer causes garbage retention if there are no extant methods using the specializer. (#492851)

New in version 1.2.15 Back to top new feature: DEPRECATION declaration for functions, variables and types causes {EARLY,LATE,FINAL}-DEPRECATION-WARNING to be signaled when subject of the declaration is used. Integrated with DESCRIBE, DOCUMENTATION and SB-CLTL2:{VARIABLE,FUNCTION}-INFORMATION. Documented in the "Deprecation" section of the manual.

enhancement: ASDF updated to 3.1.5. (#1476867)

enhancement: definitions within PROGN get proper source locations when compiled (needs latest Slime to take advantage of this). (#1473147)

enhancement: source locations for DEFCLASS slots now point directly to the slot definitions, not the whole DEFCLASS form.

bug fix: better source location in the presence of quoted forms. (#1370561)

bug fix: better source locations inside backqoute. (#1361502)

bug fix: HANDLER-BIND requires that the handler-function be a function designator at the time of binding establishment. (#1480679)

bug fix: inlined functions surrounded by nested macrolets are properly inlined. (#309123)

New in version 1.2.14 Back to top minor incompatible change: The name of a compiled anonymous lambda as returned by the third value of FUNCTION-LAMBDA-EXPRESSION can have a lambda-list-like list following the introductory LAMBDA that is not in general a syntactically valid lambda list. Specifically, it won't retain default values, supplied-p variables, or &KEY or &AUX bindings.

enhancement: DESTRUCTURING-BIND has been totally reimplemented from scratch to address a handful of performance and correctness issues. Some minor behavioral differences exist regarding order of evaluation of default forms for unsupplied &OPTIONAL and &KEY arguments when nested destructuring patterns are involved. (#707556, #707573, #707578, #708051)

enhancement: DEFCONSTANT and DEFSTRUCT respect package locks. (#1186238, #1036716)

enhancement: sb-unicode:normalize-string has a new optional argument, FILTER, a callback which controls which decomposed characters are collected. Useful for stripping away diacritics more efficiently.

bug fix: (TYPE-OF ARRAY) for a non-simple array is subject to change after a call of ADJUST-ARRAY. (#1333731)

bug fix: Dynamic-extent allocation with a loop between allocating a value and the start of its environment no longer discards the allocated data when the loop is taken. (#1472785)

bug fix: Variable-reference elimination no longer generates incorrect code under certain circumstances. (#1446891)

bug fix: variables with EQL types are no longer treated as constants by VOPs, which caused problems with closures being allocated for such variables, but they remained unused. (#1390149)

bug fix: Windows installer generates registry key name correctly. (#1476447)

New in version 1.2.13 Back to top incompatible change: on success, TRY-SEMAPHORE and WAIT-ON-SEMAPHORE return the new count

enhancement: WAIT-ON-SEMAPHORE accepts a decrement parameter

enhancement: JOIN-THREAD allows distinguishing timeout vs. abort in all situations

enhancement: On Windows DBG_PRINTEXCEPTION_C is handled and its message is printed. (#1437947)

bug-fix: TRUENAME works properly on broken symlinks presented as directories. (#1400003)

bug fix: Inlined DPB and DEPOSIT-FIELD don't interfere with left-to-right order of argument evaluation. (#1458190)

bug fix: (SETF (LDB (BYTE 1 2 JUNK) X) 0) is rightly rejected.

bug fix: DEFSETF lambda lists should not permit argument destructuring.

bug fix: calls to (SETF SLOT-VALUE) on a missing slot would in certain situations incorrectly return the result of a SLOT-MISSING method instead of always returning the new value. (#1460381)

bug fix: a DEFMACRO occurring not at toplevel and capturing parts of its lexical environment (thus being a closure) caused expressions involving the macro name to cause corruption in the pretty-printer due to faulty introspection of the lambda list of a closure.

bug fix: out of line MAP/MAP-INTO check that the results produced by the function are of the matching sequence type. (#1459581)

bug fix: pretty-printing of '(LET `((,X ,Y)) :B) is handled correctly.

New in version 1.2.12 Back to top minor incompatible change: the SB-C::*POLICY* variable is no longer a list. Code which manipulated it as such (including but not limited to non-bundled releases of ASDF) will need to be revised.

enhancement: The input stream for COMPILE-FILE implements STREAM-LINE-COLUMN.

enhancement: EVAL errors that occur by way of LOAD report the starting line and column number of the erring toplevel form. (#565247)

optimization: better MAP and MAP-INTO on known vector result types.

bug fix: Read/modify/write macros accessing a place which is a composition of CAR+CDR operations, such as (SHIFTF (CADR X) (ELT V 0)), do not access subforms more than once. (#1450968)

bug fix: short form of DEFSETF no longer allows trailing junk.

bug fix: DEFINE-MODIFY-MACRO respects the provisions of CLHS 5.1.3 regarding argument evaluation order. (#1452539)

bug fix: POP works as specified in CLHS if the setter for its argument has a side-effect on the existing CAR value. (#1454021)

bug fix: Reading "#()" with a positive numeric argument signals a reader error. As specified, reading "#1()" has undefined consequences, so correct portable code should be indifferent to this. (#1252100)

bug fix: Malformed reader conditionals such as "(#-no-such-feature)" and "(#+sbcl)" no longer parse as NIL. (#1454400)

New in version 1.2.11 Back to top enhancement: SET-PPRINT-DISPATCH will warn when given an expression in which any part is unrecognizable as a legal type-specifier. The dispatch table will be altered, but the new entry is disabled. Subsequent type-defining forms will cause pprint-dispatch tables to re-examine whether any disabled entries should be enabled. (#1429520)

enhancement: Loading code containing calls to a deprecated function will, under most circumstances, signal warnings similar to compiling such code. The usual caveat holds about not detecting calls through a computed name, as in (funcall (intern "DEPRECATED-FUN" "SB-EXT")).

enhancement: (SB-EXT:COMPILE-FILE-LINE) is a new macro that expands to a constant (VALUES integer integer) indicating the source line/column from which it was read, intended for logging Lisp runtime errors in a style similar to that afforded by the C preprocessor __LINE__ macro. Similarly (SB-EXT:COMPILE-FILE-POSITION) returns a position in characters.

enhancement: improved source locations for VOPs, alien types and declarations.

bug fix: functions in :FINAL deprecation have the correct docstring. No visible change, as no such functions presently exist. (#1439151)

bug fix: (SETF (FDEFINITION this) (FDEFINITION OTHER)) signals an error if OTHER names either a macro or special-operator. (#1439921)

New in version 1.2.10 Back to top minor incompatible change: all SOCKINT::WIN32-* functions have been deprecated with EARLY deprecation state

minor incompatible change: performing introspection via the system-internal SB-INT:INFO function could expose that :TYPE :TRANSLATOR is not necessarily a function, as it always was before. (Affects swank-fancy-inspector)

enhancement: The value of SXHASH on bit-vectors of length equal to the word size now depends on the vector's contents instead of being constant; its value on bit-vectors of length divisible by the word size now depends also on the contents of the vector's last word.

bug-fix: sb-bsd-sockets on win32 uses proper C function declarations. (#1426667)

bug fix: A new dead code elimination phase removes dead code loops that confuse stack analysis. (#1255782, #308914)

bug fix: A toplevel form which was simple enough to bypass the main compiler in COMPILE-FILE, and which contained an empty SETQ or PROGN would produce an invalid fasl file. (#1427050)

bug fix: The compiler no longer signals an internal error when encountering invalid FUNCTION forms like (function 1)

bug fix: express proper dependencies in the ASDF contrib, to support systems where make runs in parallel. (#1434768; thanks to Nikhil Benesch)

New in version 1.2.9 Back to top minor incompatible change and bug fix: unboxed numeric constants on x86oids are arranged in memory differently, and the disassembler does not show them separately in DISASSEMBLE, but does if DISASSEMBLE-CODE-COMPONENT is used. (#1421987)

optimization: The compiler's treatment of type specifiers makes it slightly faster and more memory-efficient. Portable code should be indifferent to this change, however, users of SB-INTROSPECT:FUNCTION-TYPE might notice that (MEMBER T NIL) and (MEMBER NIL T) are both internally collapsed to the former, so that the latter can never be obtained as part of an FTYPE.

optimization: a TYPEP call in which the second argument is not a QUOTE form but nevertheless recognized as a compile-time constant might open-code the test. One scenario for this involves backquote, such as (TYPEP x `(my-type ,some-arg)). Code which relied upon deferring until runtime should declare (NOTINLINE TYPEP). [Due to the sematic constraints of DEFTYPE etc in in CLHS 3.2.2.3, code requiring delayed evaluation could be unportable though.]

enhancement: unused variables at the top-level are now reported. (#492200)

bug fix: DEFCLASS handles cyclic {super,meta}class relations better (#1418883)

bug fix: compiler no longer signals an error when compiling certain function calls. (#1416704, #404441, #1417822, #1234919)

bug fix: compiler doesn't stumble on a LOGIOR transform. (#1389433)

bug fix: more robust debugger and backtraces. (#1413850, #1099500, #1412881, #945261, #1419205, #1409402)

bug fix: files larger than 4GB can now be compiled.

bug fix: x86 truncated results from 64-bit foreign functions to 32 bits.

bug fix: file-position didn't work on large files on win32. (#1271545)

bug fix: callbacks from foreign threads can work without enabling sb-safepoint.

bug fix: sb-introspect:function-lambda-list works properly on interpeted macros. (#1387404)

bug fix: ADJUST-ARRAY properly handles non-adjustable arrays. (#886418)

bug fix: compiler no longer fails to dump a multidimensional array constant involving a circular reference to itself

bug fix: conditional and nested DX allocation no longer confuse the compiler in STACK analysis. (#1044465)

bug fix: sb-rotate-byte constant folding bug fixed. (#1423682)

New in version 1.2.8 Back to top enhancement: better error and warning messages. (#1314767, #736383)

enhancement: backtrace for invalid argument count produces the exact supplied arguments including the extra ones, on x86, x86-64 and ARM.

enhancement: a STYLE-WARNING is signaled for DEFSTRUCT accessors which are used before the structure is defined; similarly for the predicate.

optimization: FORMAT NIL with only ~a and string arguments is transformed into CONCATENATE.

optimization: POSITION and FIND when inlined into code that is compiled with qualities of safety < 2 and speed > space will no longer signal an error on circular lists, but will potentially loop forever if given no :END constraint. As was always the case, calls that are not inlined are safe regardless of lexical policy.

bug fix: CLOS methods compiled with (OPTIMIZE (DEBUG 0)) no longer cause debugger failure when printing a backtrace

bug fix: more resilience to deleted code. (#1308328, #1390544)

bug fix: the CLHS example of MAKE-LOAD-FORM involving TREE-WITH-PARENT did not work, and now it does.

New in version 1.2.7 Back to top optimization: returning constant values refers to preboxed constants more reliably. (#1398785)

enhancement: a STYLE-WARNING is produced if a compiler-macro is defined for a function after at least one ordinary (not inlined) call to that function was compiled, indicating a likely compilation order problem. Likewise a warning ensues if a call is compiled to a function that is subsequently proclaimed INLINE.

enhancement: always lose() when something goes wrong while saving a core (instead of just printing an error on stderr in some situations).

enhancement: frames in the debugger are now restartable by default.

bug fix: restore error handling on Windows x86.

bug fix: MAKE-SEQUENCE detects type errors in its :INITIAL-ELEMENT at compile-time when possible. (#330299)

bug fix: parsing of malformed type specifiers no longer results in a memory-fault-error.

bug fix: LOOP properly destructures nested lists in WITH.

bug fix: MACROEXPANDing the redefinition of an alien structure type no longer signals the wrong error.

bug fix: PROGV doesn't get confused by forced DEBUG 3 (#1405456).

New in version 1.2.6 Back to top enhancement: SERVE-EVENTS uses the poll() system call in lieu of select() if the OS has the former. Previously poll() was used only if waiting on exactly one file descriptor.

enhancement: efficiency of access to untagged structure slots is improved on x86-64, and the order of slots in memory is exactly as specified by defstruct, simplifying use of structures as arguments to foreign calls.

bug fix: SB-DEBUG:ARG now works in all TRACE options which evaluate forms. (#1357826)

bug fix: GC memory corruption during internal memory handling.

bug fix: duplicate effective-slot-definition objects as compared by EQ on name could be present in CLASS-SLOTS of a class whose metaclass was structure-class or condition-class. (#1049423)

bug fix: HANDLER-BIND with empty bindings works again; regression in 1.2.5. (#1388707)

bug fix: ATOMIC-INCF works on structure slots in interpreted code. (#1381867)

bug fix: MAKE-ARRAY properly handles character types like (eql #\a) and (member #\a #\c). (#1392068)

bug fix: READ sometimes accidentally preserved a whitespace character after a token when it should not have. (#327790)

New in version 1.2.5 Back to top enhancement: sb-bsd-sockets now has basic support for IPv6

enhancement: An sb-unicode package has been added, containing many functions related to handling Unicode text

enhancement: The reader now normalizes symbols to Normalization Form KC (NFKC). This behavior can be disabled with SB-EXT:READTABLE-NORMALIZATION

enhancement: a style-warning is signaled if OPTIMIZE declarations multiply specify a quality with differing values. (#310267)

bug fix: conservatively pointed to pages wipe out unused dwords so that they cannot act as false roots in turn.

bug fix: the walker's handling of lexical variable and symbol-macro bindings is improved (#375326, #1368305)

bug fix: HANDLER-{BIND,CASE} no longer drop into ldb when a clause contains an undefined condition type; regression in 1.1.19 (#1378939)

bug fix: in interpreted code, inequality predicates did not type-check arguments that weren't examined, and a 1-argument use of MIN or MAX accepted a complex number. (#1373702)

bug fix: APROPOS and APROPOS-LIST handle inherited symbols correctly. (#1364413, thanks to Zach Beane)

New in version 1.2.4 Back to top enhancement: the sequence functions MAP, CONCATENATE and MERGE now call the new generic functions SEQUENCE:MAP, SEQUENCE:CONCATENATE and SEQUENCE:MERGE respectively when the specified result type designates an extended sequence.

bug fix: Wrong binding order of supplied-p parameters in macro lambda lists. (#721135)

bug fix: VALIDATE-SUPERCLASS returns T when the superclass is the universal superclass (#1332983)

bug fix: reading an uninterned symbol whose print name has the syntax of an integer signals an error. (#310062)

bug fix: the walker is less likely to be confused when walking LET* forms with special bindings and use of those bindings and others of the same name.

bug fix: a rare bug affecting 32-bit platforms resulting in a fatal condition with the message "Globaldb rehash failure" has been fixed.

New in version 1.2.3 Back to top enhancement: DOCUMENTATION works on instances of FUNCALLABLE-STANDARD-CLASS

enhancement: ASSERT reports arguments of calls to lexical functions in additional to global functions.

enhancement: ASDF updated to 3.1.3

enhancement: UIOP can be loaded without ASDF.

bug fix: some methods on CHANGE-CLASS did not finalize the new class before accessing its class-precedence list.

bug fix: CHANGE-CLASS no longer fails on unbound slots in the source object.

bug fix: CHANGE-CLASS signals an appropriate error when the destination class is a FORWARD-REFERENCED-CLASS.

bug fix: CHANGE-CLASS no longer signals bogus TYPE-ERRORs for slots for which initargs have been supplied.

bug fix: saving cores on ARM was broken since the introduction of GENCGC. (#1349795)

bug fix: macroexpanding a backquoted expression involving ",." outside of the compiler failed. (#1354623)

New in version 1.2.2 Back to top incompatible change: the #\` ("backquote") reader macro was reimplemented to support robust pretty-printing. Reading a form involving #\` produces an invocation of the QUASIQUOTE ordinary macro which may contain subforms that are not lists. Code that unportably attempts operations on un-evaluated forms resulting therefrom, e.g. (SUBST a b (read-from-string "`(x (,y))")) might generate incorrect results and/or errors.

enhancement: support for GNU/kFreeBSD x86.

enhancement: ATOMIC-INCF and ATOMIC-DECF can operate on (CAR x), (CDR x) and DEFGLOBAL variables of type fixnum.

enhancement: arithmetic constant reduction is now performed on defconstant constants too. (#1337069).

bug fix: certain ftype proclamations containing &optional t &rest t no longer cause subsequent definitions to signal bogus style-warnings.

bug fix: #\Bell and #\Bel now read to different characters. (#1319452).

bug fix: CAS SYMBOL-VALUE on locally special variables didn't work. (#1098355)

New in version 1.2.1 Back to top enhancement: GENCGC is enabled on ARM.

enhancement: better error reporting for invalid calls to local functions.

enhancement: support for GNU/kFreeBSD distributions. (#1079954, thanks to Christoph Egger)

enhancement: experimental support for threads on NetBSD/x86-64. (thanks to Robert Swindells)

enhancement: support for DragonFly BSD. (#1292845, thanks to Vasily Postnicov)

bug fix: TYPE-OF must not return AND/OR/NOT expressions. (#1317308)

bug fix: accessing NIL arrays stopped producing errors. (#1311421)

bug fix: DISASSEMBLE no longer prints unwanted stuff. (#1251861)

bug fix: compiling SVREF on unknown types no longer produces scary errors. (#1258716)

bug fix: assorted LOOP fixes and enhancements. (#645534, #1322923, #700538, #613876, #695286, #798388)

bug fix: silence compiler notes from the SEARCH transform. (#1071310)

bug fix: array type intersection handles T and unknown element types correctly. (#1258716)

bug fix: fix a corner case in array type unparsing that would result in misleading translations from our internal type representation.

bug fix: array-rank now sees through union and intersection types. (#1310574)

bug fix: when DECLARE expressions are in the wrong place, be careful not to attempt to evaluate the subforms. (#573747; thanks to Roman Marynchak)

bug fix: misplaced and missing declarations in DEFTRANSFORM. (#1066451)

bug fix: FBOUNDP returned NIL for a class of incorrect function names instead of signaling an error. (#1095483)

bug fix: fix a compile-time AVER in regalloc: lifetime analysis used to (rarely) introduce duplicate conflict markers in a single TN/block pair. (#1327008)

New in version 1.2.0 Back to top bug fix: read-time-eval backquote context mixup. (#1321047)

enhancement: when SAVE-LISP-AND-DIE fails due multiple threads, the report of the signaled conditions lists currently running threads.

enhancement: ported to ARM linux.

enhancement: sb-gmp contrib has been updated. (#1305266)

enhancement: new contrib sb-mpfr by Stephan Frank.

bug fix: MAKE-SEQUENCE works with sequence types defined via DEFTYPE (#1315846, thanks to Mark Cox)

bug fix: SET-[DISPATCH-]MACRO-CHARACTER should coerce a symbolic function-designator to a function only as needed. (#1012335)

bug fix: remove references to asdf-install from the manual. (#1207544, thanks to Thomas Hlavaty)

bug fix: handle --without-xxx options to make.sh more carefully. (#1246665, thanks to Richard M Kreuter)

bug fix: prevent maybe-delete-exit from doing semantically broken things with local exits. (#309099, #518099, #533930)

bug fix: attempts to subclass BUILT-IN-CLASSes signal errors, as required by AMOP. (#861004)

New in version 1.1.18 Back to top optimization: COERCE is now more effecient for more cases when the type is known at compile-time. (#1309815)

bug fix: correctly inherit condition initforms. (#1300904)

bug fix: properly pprint literal functions inside nested lists. (#1300716)

bug fix: more-correctly handle array-type unity (broken for ages, causing compilation problems since 1.1.13.x due to smarter TYPEP type propagation, reported by jasom in #lisp).

New in version 1.1.17 Back to top enhancement: printing backtraces respects SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* when printing call arguments (#1261646)

optimization: defstruct out-of-line accessor are now as fast as inlined. (#1264924)

bug fix: INVOKE-RESTART-INTERACTIVELY no longer refuses to invoke RESTART instances with a test-function (reported by Vivitron in #sbcl)

bug fix: STREAM-ERROR-POSITION-INFO fails in fewer situations (#1264902)

bug fix: Change COND error message (#1254511)

bug fix: LOAD is no longer confused when called on a directory. (#1077996)

bug fix: MAKE-CONDITION reports names of missing condition classes properly (#1199223)

bug fix: restore building with clang. (#1293643)

bug fix: restore building on SPARC (broken since 1.1.15).

bug fix: improved FreeBSD support.

bug fix: PPC floating point conversion corrupted stack.

New in version 1.1.16 Back to top minor incompatible change: improve read/print consistency for pathnames on Win32, by using the circumflex character #\^ as the escape character. (#673625)

enhancement: SB-EXT:DEFINE-LOAD-TIME-GLOBAL. (#1253688)

enhancement: Loading fasls with symbols from an undefined package includes the name of the symbol in the error message.

bug fix: problems when redefining classes and doing TYPEP on classes concurrently. (#1272742)

bug fixes to the x86-64 XCHG instruction: it was misencoded when used with RAX, R8-R15 registers. (reported by Eric Marsden) it was misencoded when used to exchange EAX with itself. the disassembler wrongly printed XCHG RAX, R8 and the corresponding 32- and 16-bit variations as NOP.

bug fix: the disassembler outputs source annotations in the right place and no longer randomly drops some of them. (#1249205)

bug fix: fix commutative-arg-swap from introducing undumpable structures into code, prevent code with errors from being compiled. (#1276282)

bug fix: pathnames with :back in their directory component are succeffully resolved.

bug fix: the deterministic profiler now uses ENCAPSULATE functionality to wrap functions around. (#309086)

New in version 1.1.15 Back to top new feature: the iterative spilling/coloring register allocator developed by Alexandra Barchunova during Google Summer of Code 2013 is now merged in. By default, it only activates for functions that optimize with (speed 3) and (> speed compilation-speed), but setting sb-regalloc:*register-allocation-method* to :iterative forces its execution. The previous behaviour can be obtained by instead setting that variable to :greedy. Thanks again to Google for their support, and, more crucially, to Alexandra Barchunova for her hard work.

optimization: make-array with known element-type and unknown dimensions is much faster.

optimization: make-array with unknown element-type is faster as well. (#1004501)

enhancement: sb-ext:save-lisp-and-die on Windows now accepts :application-type argument, which can be :console or :gui. :gui allows having GUI applications without an automatically appearing console window.

enhancement: reduced conservativism on GENCGC platforms: conservative roots must be valid-looking tagged pointers or point within a code object, not merely point to within the allocated part of a page, in order to pin a page.

enhancement: support for "Mac Roman" external format.

enhancement: encapsulation of named generic functions now happens without altering the identity of the function bound to the name.

bug fix: Windows applications without the console window no longer misbehave. (patch by Wilfredo Velazquez, #1256034).

bug fix: modular arithmetic optimizations do not stumble on dead branches with bad constants. (reported by Douglas Katzman)

bug fix: CLISP can be used again as a cross-compilation host. (Thanks to Vasily Postnicov, #1261451)

bug fix: run-program crashed with :directory nil. (#1265077)

New in version 1.1.14 Back to top optimization: complicated TYPEP tests are less opaque to the type propagation pass. (#1229340)

optimization: [N]BUTLAST perform a single pass over the list. (#1245697)

optimization: EQUALP on structures with raw slots (double-float/complex) no longer conses and is faster.

optimization: RESTART-CASE expands to more compact code. Thanks to Jan Moringen. (#1249055)

enhancement: Top-level defmethod without defgeneric no longer causes undefined-function warnings in subsequent forms. (#503095)

enhancement: Better error messages for system errors on Windows.

enhancement: run-sbcl.sh is usefully handled by rlwrap. Thanks to William Cushing. (#1249183)

enhancement: new function SB-EXT:ASSERT-VERSION->= accepts a version specification (multiple integer arguments) and signals a continuable error if the current SBCL version is lower (older) than the specification. (#674372)

enhancement: better ARRAY-RANK result derivation. (#1252108)

bug fix: EQUALP now compares correctly structures with raw slots larger than a single word.

bug fix: contribs couldn't be built on Windows with MinGW.

bug fix: Better pathname handling on Windows. (#922117)

bug fix: OPEN reports a more meaningful error when an existing file is opened for output with :if-exists :new-version. Thanks to Philip Munksgaard. (#455381)

bug fix: DEFSTRUCTs with NIL as a slot name no longer cause strange CLOS-related errors. (#633911)

bug fix: GC deadlocks caused by concurrent consing on Windows.

New in version 1.1.13 Back to top optimization: better distribution of SXHASH over small conses of related values. (#309443)

other improvements to SXHASH: use the whole of the positive-fixnum range for SXHASH of fixnums

enhancement: The error message when calling an undefined alien function includes the name of the function on x86-64.

enhancement: sb-ext:run-program now supports :environment on Windows.

enhancement: ASDF is no longer required to load contribs at runtime. (#1132254)

enhancement: when called with a symbol, FIND-RESTART no longer calls COMPUTE-RESTARTS, making it faster and cons less (#769615)

enhancement: FIND-RESTART and COMPUTE-RESTARTS handle huge restart clusters better in some cases

enhancement: SOME/ANY/other quantification higher-order functions no longer cons. (#1070635)

bug fix: forward references to classes in fasls can now be loaded. (#746132)

bug fix: don't warn on a interpreted->compiled function redefinition from the same location. (patch by Douglas Katzman, #1042405)

bug fix: Create vectors of proper internal length when reading literal vectors from FASLs. (Reported by Jan Moringen)

bug fix: COMPILE can now successfully compile setf functions. (Reported by Douglas Katzman)

bug fix: run-program performs more correct escaping of arguments on Windows. (#1239242)

bug fix: function-lambda-expression on generic functions returns the actual name.

bug fix: (the [type] [constant]) now warns when [constant] matches [type] except for the number of values. (Reported by Nathan Trapuzzano on sbcl-help)

bug fix: signal errors in required cases of slot-definition initialization protocol. (#309072)

bug fix: run-sbcl.sh works better in the presence of symlinks on OS X. (thanks to Stelian Ionescu, #1242643)

bug fix: when given a restart object, FIND-RESTART checks whether the restart is active and, when a condition is supplied, whether the restart is associated to a different condition (#774410)

New in version 1.1.12 Back to top enhancement: Add sb-bsd-sockets:socket-shutdown, for calling shutdown(3). (thanks to Jan Moringen, #1207483)

enhancement: document extensible sequences. (thanks to Jan Moringen, #994528)

optimization: EQUAL and EQUALP transforms are smarter. (thanks to Elias Martenson, #1220084)

optimization: CHAR-EQUAL is faster for constant and base-char arguments.

bug fix: probe-file now can access symlinks to pipes and sockets in /proc/pid/fd on Linux. (reported by Eric Schulte)

bug fix: SBCL can now be built on Solaris x86-64.

bug fix: Floating point exceptions do not persist on Solaris anymore.

bug fix: (setf . a) is pprinted correctly (reported by Douglas Katzman).

bug fix: handle compiler-error in LOAD when it's not run from inside EVAL. (#1219601)

bug fix: SB-GMP:MPZ-POW no longer segfaults given a non-bignum base. (thanks to Stephan Frank)

bug fix: space allocation of result bignums in SB-GMP is more accurate. (thanks to Stephan Frank, #1206191)

bug fix: sb-safepoint can now reliably handle signal interruptions of foreign code. (#1133018)

bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback" constructors no longer fails to merge actual and default initargs (thanks to Jan Moringen, #1179858)

bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback" constructors handles non-KEYWORD initialization arguments more correctly.

bug fix: loading the SB-SIMPLE-STREAMS contributed module no longer clobbers FILE-NAMESTRING. (thanks to Anton Kovalenko, #884603)

bug fix: class definitions with CPLs inconsistent with their metaclasses are less likely to destroy the object system's integrity. (#309076)

bug fix: restart clause parsing in RESTART-CASE is more in line with the standard. (#1203585, thanks to Jan Moringen)

bug fix: silence a note from RESTART-CASE under high-SPEED optimization settings. (#1023721)

bug fix: getting the order of arguments to SB-MOP:SET-FUNCALLABLE-INSTANCE-FUNCTION wrong produces a sensible error rather than a failed AVER. (reported by Paul Nathan)

bug fix: Parsing of &optional/&key/&rest arguments now never overwrites arguments during copying on x86 and x86-64; it may still happen on other platforms when there are more fixed arguments than stack slots. (reported by Jan Moringen)

New in version 1.1.11 Back to top enhancement: support building the manual under texinfo version 5. (#1189146)

enhancement: Windows builds no longer display the "Kitten of Death" message. A warning is instead appended to the regular banner, and may be muted with --noinform. (#728247)

enhancement: support building under new linker handling of syscalls under NetBSD. (thanks to Robert Swindells)

bug fix: undefined function errors are now properly reported on PPC and MIPS. (regression since 1.1.9)

bug fix: (funcall (function X junk)) didn't causes an error when X had a compiler macro. (thanks to Douglas Katzman).

bug fix: signal a warning when defining a setf-function when a setf-expander is already present. (thanks to Douglas Katzman).

bug fix: improved threading on PPC.

bug fix: ROOM works again on Windows. (#1206456)

bug fix: Streams were flushed even when there was one byte still left in the buffer. (#910213)

bug fix: OPEN handles correctly when :if-exists and :if-does-not-exist are either NIL or :ERROR. (reported by Jan Moringen)

New in version 1.1.10 Back to top enhancement: ASDF has been updated to 3.0.2.

optimization: stack frames are packed more efficiently on x86oids, which ought to reduce the frequency of Methuselahn conservative references (it certainly helps with gc.impure.lisp / BUG-936304 on x86).

optimization: on x86 and x86-64, integer negation forms like (- x) are now recognized in modular arithmetic contexts, and compile to native negate, rather than going through bignums only to keep the low bits.

bug fix: Compiling potential modularic arithmetic forms does not cause type errors when some integer types lack lower or upper bounds. (#1199127)

bug fix: Non-trivial modular arithmetic forms are always cut to the right bitwidth before being used in a non-modular context. (#1199428)

bug fix: Multiple catch/unwind blocks in a single function are now allocated in the right stack order on win32. (#1072739)

New in version 1.1.9 Back to top new feature: the contrib SB-GMP links with libgmp at runtime to speed up arithmetic on bignums and ratios. (contributed by Stephan Frank)

enhancement: disassemble now annotates some previously missing static functions, like LENGTH.

enhancement: clean.sh now also cleans doc/internals.

enhancement: SB-EXT:PRINT-SYMBOL-WITH-PREFIX can be used within ~// to print a symbol with a package prefix.

enhancement: The debugger and backtracing are more robust against buggy PRINT-OBJECT methods.

optimization: calls to static functions on x86-64 use less instructions.

optimization: compute encode-universal-time at compile time when possible.

optimization: when referencing internal functions as #'x, don't go through an indirect fdefn structure.

optimization: SLEEP doesn't cons on non-immediate floats and on ratios.

optimization: (mod fixnum) type-checks are performed using one unsigned comparison, instead of two.

optimization: enable more modular arithmetic transforms in the presence of conditionals.

optimization: bitwise OR forms can now trigger modular arithmetic as well, when the result is known to be negative.

optimization: recognize more cases of useless LOGAND/LOGIOR with constants.

optimization: comparisons between rationals and constant floats or between integers and constant ratios are now converted to rationals/integers at compile time.

optimization: Smaller and faster DOUBLE-FLOAT-LOW-BITS on x86-64.

bug fix: problems with NCONC type derivation (reported by Jerry James).

bug fix: EXPT type derivation no longer constructs bogus floating-point types. (reported by Vsevolod Dyomkin)

bug fix: sb-bsd-sockets has correct declaration of the canonname field of addrinfo. (#1187041, patch by Jerry James)

bug fix: uninitialized type-error conditions can now be printed. (#1184586)

bug fix: tests for sb-bsd-sockets no longer use a predefined port for listening, allowing several tests to run in parallel.

bug fix: during disassembly to *COMPILER-TRACE-OUTPUT* instruction prefixes as used on x86 and x86-64 no longer sometimes print incorrectly. (#1085729)

bug fix: Specialised SIMD-PACK types can be negated.

bug fix: Modular arithmetic is more robust. (incidentally fixes another bug reported by Eric Marsden)

bug fix: FP return values from foreign calls are always rounded to single or double float precision on x87.

bug fix: Known-safe vector access on x86oids should not fail spuriously when the index is of the form (+ x constant-positive-integer).

bug fix: Remove GPL-licensed files from source distribution. (#1185668)

bug fix: backtrace printer no longer tries to create very large lists when the arg-count register is clobberred by other code. (#1192929)

bug fix: x86 should never signal an FP exception while boxing an FP value, a situation that lands us into ldb.

New in version 1.1.8 Back to top notice: The implementation of MAP-ALLOCATED-OBJECTS (the heart of ROOM, plus a few SB-INTROSPECT functions) has been completely rewritten; it may now exhibit different bugs than before.

new feature: minimal runtime/compiler intrastructure support for SSE SIMD values, as SB-EXT:SIMD-PACK. Enabled on x86-64 via the build-time feature :sb-simd-pack. This should enable intrinsics extensions as libraries, without patching SBCL itself. Thanks to Alexander Gavrilov for maintaining a branch for so long.

enhancement: RUN-PROGRAM supports a :DIRECTORY argument to set the working directory of the spawned process. (#791800) (patch by Matthias Benkard)

enhancement: boxed vectors (vectors of T or of FIXNUM) can now be stack-allocated on PPC.

enhancement: "fixed objects" can now be stack-allocated on PPC.

enhancement: WITH-PINNED-OBJECTS no longer conses on PPC/GENCGC.

enhancement: (sb-introspect:find-definition-sources-by-name x :vop) now also returns VOPs which do not translate any functions, and finds defoptimizer types ir2convert and stack-allocate-result.

enhancement: better type derivation for APPEND, NCONC, LIST. (#538957)

enhancement: MAP-ALLOCATED-OBJECTS (the heart of ROOM) now walks the heap in a manner similar to the GC rather than its previous ad-hoc scheme, and is therefore no less and possibly more accurate.

fixes and enhancements related to Unicode: the character database information has been updated to Unicode 6.2; support for canonical and compatibility decomposition of characters has been added, along with support for primary composition; support for Unicode normalization forms of strings (NFC, NFKC, NFD and NFKD) has been included; querying the character database for code points not defined by Unicode gives less wrong answers (#1178038, reported by Ken Harris)

enhancement: print intermediate evaluation results for some ASSERTed expressions. (#789497) (patch by Alexandra Barchunova)

enhancement: x86-64 disassemblies are annotated with unboxed constant values when there are references to (RIP-relative) unboxed constants.

bug fix: type derivation for LOG{AND,IOR,XOR} scales linearly instead of quadratically with the size of the input in the worst case. (#1096444)

bug fix: handle errors when initializing *default-pathname-defaults*, sb-ext:*runtime-pathname*, sb-ext:*posix-argv* on startup, like character decoding errors, or directories being deleted.

bug fix: Loading a core with a discontiguous dynamic space now correctly computes the amount of dynamic space used.

bug fix: disassembler missing ",8" on SHLD

bug fix: backtracing through INTERNAL-ERROR signal handlers on systems that provide an "invalid" stack frame link for the signal handler itself now use the saved-fp-and-pc mechanism to pick up from the stack frame in the interrupt (signal) context. This is known to affect threaded FreeBSD/x86-64.

bug fix: some LOOP statements couldn't be compiled. (#1178989)

bug fix: sb-sequence:dosequence works on literal vectors.

bug fix: errors in generic arithmetic show the assembly routine's caller on x86 and x86-64. (#800343)

bug fix: Compile-time type errors should never result in COMPILE-FILE failure. (#943953)

bug fix: Known bad local calls do not cause strange failures when emitting or dumping code. (#504121)

bug fix: Multiply-inlined structure constructor don't cause IR2-time codegen errors: type checks are inserted as necessary. (#1177703)

bug fix: Unsigned modular arithmetic is correctly converted into signed modular arithemtic (mostly to exploit fixnum-width VOPs). (#1026634)

bug fix: a combination of inlined local function with &optional and recursion no longer causes undescriptive compiler errors. (#1180992)

bug fix: sub-word BOOLEAN alien types now disregard higher order bits when testing for non-zero-ness.

bug fix: (CONCATENATE 'null ...) no longer fails for generic sequences. (#1162301)

bug fix: Type mismatch for the value of conditional expressions are correctly reported when detected at compile-time, instead of complaining about a constant NIL (similar for non-EQ-comparable catch tags).

bug fix: Referring to INLINE global functions as values should not result in a compilation failure. (#1035721)

optimization: faster ISQRT on fixnums and small bignums

optimization: faster and smaller INTEGER-LENGTH on fixnums on x86-64.

optimization: On x86-64, the number of multi-byte NOP instructions used for code alignment is now always minimal.

optimization: On 64-bit targets, the compiler generates much faster code for type checks for types known at compile time that are smaller than (SIGNED-BYTE 64) or (UNSIGNED-BYTE 64) and larger than FIXNUM, and their COMPLEX variants.

optimization: On x86 targets, more uses of ALIEN-FUNCALL during cross compilation now inline the INVOKE-WITH-SAVED-FP-AND-PC dance.

optimization: ROOM no longer conses so egregiously on non-x86oid systems.

optimization: associative bitwise operations reassociate patterns like (f (f x k1) k2) to expose (f x (f k1 k2)). Same for + and * of rational values.

optimization: quasiquote expressions now perform more constant folding, instead of consing equal lists at runtime. (#1026439)

optimization: local call analysis of inlined higher-order function should converge more quickly, resulting in better code for complex functions.

optimization: On x86-64, medium (word-sized but wider than 32 bits) integer constants are handled more cleverly, especially when they can be represented as sign-extended (signed-byte 32). (Based on a patch by Douglas Katzman)

optimization: IF/IF conversion should reliably result in sane code when (some of) the results of the inner IF are always false or always true.

optimization: On x86oids, variable right shifts of machine words are compiled into straight SAR/SHR, instead of going through the generic VOP. (#1066204)

New in version 1.1.7 Back to top enhancement: TRACE :PRINT-ALL handles multiple-valued forms. (#457053)

bug fix: :allocation slot option works for condition slots (#1049404)

bug fix: redefining conditions does not lead to multiple evaluations of hairy slot initfunctions anymore (#1164969)

bug fix: CLASS-DIRECT-DEFAULT-INITARGS now works for condition classes (#1164970)

bug fix: function constants now work as initforms and default initarg values of conditions (#539517)

bug fix: svref/(setf svref) on symbol macros don't crash the compiler anymore. (Minimal test case provided by James M. Lawrence on sbcl-devel)

bug fix: no more bogus ## references when pretty printing backquoted forms with non-trivial structure sharing. (#1161218)

bug fix: Don't signal an error on (setf (documentation nil 'function) "doc"). Signal a style-warning instead when trying to set documentation of NIL for all other documentation types. (Reported by Zach Beane; regression since 2e52fa05.)

bug fix: modular arithmetic involving large constants and conditionals should no longer result in spurious dead code elimination. (Reported by Eric Marsden).

bug fix: our mach exception handler can seemingly called very early in the program execution process on OS X 10.8.0. Try and handle that case robustly, without potentially leaking mach ports too much.

optimization: LOGBITP and LOGTEST optimizations from x86 ported to x86_64.

New in version 1.1.6 Back to top enhancement: the continuable error when defknown-ing over extant fndb entries can be ignored by passing :overwrite-fndb-silently t as a keyword argument to sb-c:defknown (after attributes). Useful to allow defknown to be re-loaded. Use with :allow-other-keys t for backward compatibility.

optimization: compiler is much faster in compiling SVREF and (SETF SVREF) forms.

bug fix: Prevent a make-array transform from modifying source forms causing problems for inlined code. Thanks to Bart Botta. (regression since 1.0.42.11-bis)

bug fix: clear-output calls the correct gray stream routine, sb-gray:stream-clear-output. (#1153257)

bug fix: an error is signalled for an invalid format modifier: ~<~@>. (#1153148)

bug fix: Bette