Changeset 15393


Ignore:
Timestamp:
May 27, 2012, 12:03:53 AM (7 years ago)
Author:
gb
Message:

CCL.42698: be explicit about safety (if other settings would keep
the error from having been detected during constant-folding and
would have generated unsafe code.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/ansi-tests/ccl.lsp

    r15391 r15393  
    226226
    227227(deftest ccl.42698  ;; fixed in r9589/r9590
    228     (handler-case (schar "abc" -1) ;; used to crash hard
    229       (error () :error))
     228    (locally (declare (optimize (safety 3)))
     229      (handler-case (schar "abc" -1) ;; used to crash hard
     230        (error () :error)))
    230231  :error)
    231232
Note: See TracChangeset for help on using the changeset viewer.