Commit graph

726 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
2fc236ba80 Format undefined variable warnings as the rest of compiler messages (T. Rittweiler) 2010-02-25 11:24:21 +01:00
Juan Jose Garcia Ripoll
b3846425be New declaration C::POLICY-DEBUG-IHS-FRAME 2010-02-24 16:38:49 +01:00
Juan Jose Garcia Ripoll
7f52387b73 Do not complain when a global function is closed over. 2010-02-23 16:52:01 +01:00
Juan Jose Garcia Ripoll
ec9727f9f5 Safer inline expansion for BOUNDP 2010-02-20 22:04:50 +01:00
Juan Jose Garcia Ripoll
ed770c2bfb Remove tail recursion compiler note, turning it into a compiler debug note. 2010-02-19 20:12:09 +01:00
Juan Jose Garcia Ripoll
4d1a14fe44 Accidentally deleted a character. 2010-02-19 18:01:14 +01:00
Juan Jose Garcia Ripoll
d47c766a13 Add empty lines around messages at the beginning of COMPILE-FILE, also at the end, and after a note from SAFE-SYSTEM. 2010-02-19 17:24:04 +01:00
Juan Jose Garcia Ripoll
21057b19bd The old and new compilers now share cmputil.lsp. Toplevel forms are stored both in macroexpanded and non-macroexpanded forms, and the compiler messages print only the innermost form that was not macroexpanded. Improve readability of compiler messages. 2010-02-19 17:16:32 +01:00
Juan Jose Garcia Ripoll
2ac581980b src/cmp/cmpname is now shard by the old and new compilers. 2010-02-19 17:04:46 +01:00
Juan Jose Garcia Ripoll
9b328aea2f Remove useless compiler notes. 2010-02-19 16:57:45 +01:00
Juan Jose Garcia Ripoll
6a550ec8ab COMPILE-FILE-PATHNAME accepts the :EXTERNAL-FORMAT keyword argument. 2010-02-18 09:02:12 +01:00
Juan Jose Garcia Ripoll
32c75cd640 COMPILE-FILE admits the keyword argument :EXTERNAL-FORMAT. 2010-02-17 19:48:33 +01:00
Juan Jose Garcia Ripoll
3cd3fbc342 Replace old function declarations for IHS-*, FRS-*, BDS-* 2010-02-17 00:01:40 +01:00
Juan Jose Garcia Ripoll
cee6703602 COMPILE-FILE only outputs NIL when there were serious errors 2010-02-16 22:31:54 +01:00
Juan Jose Garcia Ripoll
c85f220a46 Remove bogus inline forms for FLOOR and TRUNCATE 2010-02-08 14:26:52 +01:00
Juan Jose Garcia Ripoll
9d1b7c8f7d ECL accepts FTYPE proclamations for SETF-functions. 2010-02-08 11:47:30 +01:00
Juan Jose Garcia Ripoll
8a923695e3 Turn warnings about ECL not being able to cope with certain types into compiler notes. 2010-02-07 21:05:15 +01:00
Juan Jose Garcia Ripoll
e368e4279b In compiler-debugger, do not muffle errors because they might be caused by user handlers. Ideally internal errors should have been already muffled by handle-compiler-internal-error 2010-02-07 16:31:06 +01:00
Juan Jose Garcia Ripoll
6e01a0fc67 Export *SUPPRESS-COMPILER-{NOTES,WARNINGS,MESSAGES}* 2010-02-07 12:47:01 +01:00
Juan Jose Garcia Ripoll
38f4c03a35 Decrease verbosity in compiler note printing. 2010-02-07 12:17:53 +01:00
Juan Jose Garcia Ripoll
96c8e09112 In compiler messages, print the actual toplevel form, not the macroexpanded version 2010-02-07 11:57:34 +01:00
Juan Jose Garcia Ripoll
c72aaa5723 Remove useless compiler note about keywords being reused 2010-02-07 11:20:41 +01:00
Juan Jose Garcia Ripoll
d013d603f0 Fixed typo in the implementation of THE. 2010-02-07 11:13:37 +01:00
Juan Jose Garcia Ripoll
6801d9de04 Remove debug statement 2010-02-07 11:08:35 +01:00
Juan Jose Garcia Ripoll
135d52c78e The compiler now uses THE forms with a VALUES type. 2010-02-07 11:08:09 +01:00
Juan Jose Garcia Ripoll
ff7d1fa480 When parsing a function type that contained &optional, the compiler did not eliminate this word before parsing the next argument. 2010-02-07 10:50:38 +01:00
Juan Jose Garcia Ripoll
85b379e235 Variables declared ignorable no longer produce a warning when removed from LET/LET* forms. 2010-02-07 01:21:26 +01:00
Juan Jose Garcia Ripoll
0af8370faf When inlining an APPLY form, the variable for processing the argument list may be declared ignorable, in order to prevent warnings. 2010-02-07 01:21:09 +01:00
Juan Jose Garcia Ripoll
337819233d Replace use of __builtin_expect() with two macros, ecl_{likely,unlikely} 2010-02-04 16:54:05 +01:00
Juan Jose Garcia Ripoll
40ee2b29eb Use of __builtin_expect() to mark rare error conditions. Use of __attribute__((noreturn)) on error functions which are used at the beginning of a function and do not have possibility of triggering a longjmp int the same function. 2010-02-03 23:30:16 +01:00
Juan Jose Garcia Ripoll
092ca8a165 New variables c:*user-ld-flags* and c:*user-cc-flags* 2010-02-03 22:14:07 +01:00
Juan Jose Garcia Ripoll
83eddf11f9 Intoduced _ecl_fix_times_fix, _ecl_big_ceiling and _ecl_big_floor. 2010-01-28 23:08:16 +01:00
Juan Jose Garcia Ripoll
265144b1e4 No bds check is needed in compiled functions, since this is included in the ecl_bds_bind routine. 2010-01-26 22:29:53 +01:00
Juan Jose Garcia Ripoll
65c1dbb06f Missing arguments to several warnings (S. Bourakev). 2010-01-25 09:09:10 +01:00
Juan Jose Garcia Ripoll
65cf8c51f6 New function EXT:ENVIRON 2010-01-24 22:37:43 +01:00
Juan Jose Garcia Ripoll
f00fafe95a Changed the prototype of functions that take a fixed number of arguments 2009-12-26 15:40:08 +01:00
Juan Jose Garcia Ripoll
19943c0a22 ECL now has its own rounding routine for converting rationals to floats. 2009-12-05 01:47:41 +01:00
Juan Jose Garcia Ripoll
46e8c1ddc6 The function EXTRACT-TYPE-CHECKS is now better isolated and issues the compiler note itself. 2009-12-02 14:58:42 +01:00
Juan Jose Garcia Ripoll
bd7b3fd6d8 The automatic generation of check-type forms for function arguments could not be suppressed when having additional declarations (src/cmp/cmplam.lsp) 2009-11-30 12:55:41 +01:00
Juan Jose Garcia Ripoll
bc302c2acf The optimizer for TYPEP did not work when passed three arguments. 2009-11-29 22:40:45 +01:00
Juan Jose Garcia Ripoll
2c3feb09d5 Provide compiler macros for the slot accessors of the root classes. 2009-11-29 22:00:29 +01:00
Juan Jose Garcia Ripoll
cf1ff95534 Provide inline forms for SI:INSTANCE-SET and MP:LOCK-COUNT. 2009-11-29 21:59:15 +01:00
Juan Jose Garcia Ripoll
e9644a5092 src/clos/cmpclos.lsp: maybe-optimize-slot-accessor tried to optimize generic
function calls to functions that are not slot readers / writers.
2009-11-27 22:05:55 +01:00
Juan Jose Garcia Ripoll
a0017d2185 Patch for tracker bug ID: 2900631. Losing non-primary values in compiled, proclaimed function calls (Abhishek) 2009-11-19 20:21:39 +01:00
Juan Jose Garcia Ripoll
0b3075cb96 src/cmp/cmpmulti.lsp: c1multiple-value-bind replaces multiple-value-bind with a let form when there is only one variable to be bound. 2009-11-14 18:00:56 +01:00
Juan Jose Garcia Ripoll
3447e860eb src/cmp/cmpmain.lsp: in C:BUILDER, when using SI:SAFE-EVAL to execute the prologue and epilogue codes, allow by default to start up the debugger. 2009-11-14 10:49:54 +01:00
Juan Jose Garcia Ripoll
6c380fba8e Remove debug statement. 2009-11-09 20:19:22 +01:00
Juan Jose Garcia Ripoll
a316938550 EXT:QUIT now stores the exit code of the program and this is returned by standalone executables. 2009-11-09 10:12:45 +01:00
Juan Jose Garcia Ripoll
18f5cf2d92 The IGNORE/IGNORABLE declarations accept (but ignore) arguments of the for (FUNCTION function-name). 2009-11-08 16:39:19 +01:00
Juan Jose Garcia Ripoll
e44656e9bb src/cmp/cmpmain.lsp: when building a standalone executable, wrap everything with a CL_CATCH_ALL to provide an exit point for EXT:QUIT and also to protect from unwanted transfers of control. 2009-11-08 15:38:33 +01:00