Hi, The following transcript illustrates a bug (on Linux/AMD64) when compiling code with low safety and type declarations involving unicode characters.
,---- | ECL (Embeddable Common-Lisp) 11.1.1 (git:ea0fdff00734051a1c775c2740ddb2a92122e93c) | > (lambda (p1 p2) | (declare (optimize (safety 0)) | (type (member #\U00FE) p2)) | (equalp p1 p2)) | #<bytecompiled-closure #<bytecompiled-function 000000000323b0a0>> | > (compile nil *) | ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 | ;;; | ;;; End of Pass 1. | ;;; Note: | ;;; Invoking external command: | ;;; gcc -I. -I/usr/local/include/ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -D_THREAD_SAFE -Dlinux -O2 -w -c ecl001EZsIeN.c -o ecl001EZsIeN.o | ;;; Note: | ;;; Invoking external command: | ;;; gcc -o ecl001EZsIeN.fas -L/usr/local/lib/ /tmp/ecl001EZsIeN.o -Wl,--rpath,/usr/local/lib/ -shared -lecl -lgmp -lpthread -ldl -lm | #<compiled-function 000000000338e200> | NIL | NIL | > (funcall * #\U00FE #\U00FE) | Condition of type: SEGMENTATION-VIOLATION | Detected access to an invalid or protected memory address. `---- -- Eric Marsden ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list