avoid jumping into statement expression
[tinycc/daniel.git] / Changelog
blob6d33bb485d97c130da65dba722207d0a86f0c9e2
1 version 0.9.24:
3 - ignore AS_NEEDED ld command
4 - mark executable sections as executable when running in memory
5 - added support for win32 wchar_t (Filip Navara)
6 - segment override prefix support (Filip Navara)
7 - normalized slashes in paths (Filip Navara)
8 - windows style fastcall (Filip Navara)
9 - support for empty input register section in asm (Filip Navara)
10 - anonymous union/struct support (Filip Navara)
11 - fixed parsing of function parameters
13 version 0.9.23:
15 - initial PE executable format for windows version (grischka)
16 - '#pragma pack' support (grischka)
17 - '#include_next' support (Bernhard Fischer)
18 - ignore '-pipe' option
19 - added -f[no-]leading-underscore
20 - preprocessor function macro parsing fix (grischka)
22 version 0.9.22:
24 - simple memory optimisations: kernel compilation is 30% faster
25 - linker symbol definitions fixes
26 - gcc 3.4 fixes
27 - fixed value stack full error
28 - 'packed' attribute support for variables and structure fields
29 - ignore 'const' and 'volatile' in function prototypes
30 - allow '_Bool' in bit fields
32 version 0.9.21:
34 - ARM target support (Daniel Glöckner)
35 - added '-funsigned-char, '-fsigned-char' and
36   '-Wimplicit-function-declaration'
37 - fixed assignment of const struct in struct
38 - line comment fix (reported by Bertram Felgenhauer)
39 - initial TMS320C67xx target support (TK)
40 - win32 configure
41 - regparm() attribute
42 - many built-in assembler fixes
43 - added '.org', '.fill' and '.previous' assembler directives
44 - '-fno-common' option
45 - '-Ttext' linker option
46 - section alignment fixes
47 - bit fields fixes
48 - do not generate code for unused inline functions
49 - '-oformat' linker option. 
50 - added 'binary' output format.
52 version 0.9.20:
54 - added '-w' option
55 - added '.gnu.linkonce' ELF sections support
56 - fixed libc linking when running in memory (avoid 'stat' function
57   errors).
58 - extended '-run' option to be able to give several arguments to a C
59   script.
61 version 0.9.19:
63 - "alacarte" linking (Dave Long)
64 - simpler function call
65 - more strict type checks
66 - added 'const' and 'volatile' support and associated warnings
67 - added -Werror, -Wunsupported, -Wwrite-strings, -Wall.
68 - added __builtin_types_compatible_p() and __builtin_constant_p()
69 - chars support in assembler (Dave Long)
70 - .string, .globl, .section, .text, .data and .bss asm directive
71   support (Dave Long)
72 - man page generated from tcc-doc.texi
73 - fixed macro argument substitution
74 - fixed zero argument macro parsing
75 - changed license to LGPL
76 - added -rdynamic option support
78 version 0.9.18:
80 - header fix (time.h)
81 - fixed inline asm without operand case
82 - fixed 'default:' or 'case x:' with '}' after (incorrect C construct accepted
83   by gcc)
84 - added 'A' inline asm constraint.
86 version 0.9.17:
88 - PLT generation fix
89 - tcc doc fixes (Peter Lund)
90 - struct parse fix (signaled by Pedro A. Aranda Gutierrez)
91 - better _Bool lvalue support (signaled by Alex Measday)
92 - function parameters must be converted to pointers (signaled by Neil Brown)
93 - sanitized string and character constant parsing
94 - fixed comment parse (signaled by Damian M Gryski)
95 - fixed macro function bug (signaled by Philippe Ribet)
96 - added configure (initial patch by Mitchell N Charity)
97 - added '-run' and '-v' options (initial patch by vlindos)
98 - added real date report in __DATE__ and __TIME__ macros
100 version 0.9.16:
102 - added assembler language support
103 - added GCC inline asm() support
104 - fixed multiple variable definitions : uninitialized variables are
105   created as COMMON symbols.
106 - optimized macro processing
107 - added GCC statement expressions support
108 - added GCC local labels support
109 - fixed array declaration in old style function parameters
110 - support casts in static structure initializations
111 - added various __xxx[__] keywords for GCC compatibility
112 - ignore __extension__ GCC in an expression or in a type (still not perfect)
113 - added '? :' GCC extension support
115 version 0.9.15:
117 - compilation fixes for glibc 2.2, gcc 2.95.3 and gcc 3.2.
118 - FreeBSD compile fixes. Makefile patches still missing (Carl Drougge).
119 - fixed file type guessing if '.' is in the path.
120 - fixed tcc_compile_string()
121 - add a dummy page in ELF files to fix RX/RW accesses (pageexec at
122   freemail dot hu).
124 version 0.9.14:
126 - added #warning. error message if invalid preprocessing directive.
127 - added CType structure to ease typing (faster parse).
128 - suppressed secondary hash tables (faster parse).
129 - rewrote parser by optimizing common cases (faster parse).
130 - fixed signed long long comparisons.
131 - fixed 'int a(), b();' declaration case.
132 - fixed structure init without '{}'.
133 - correct alignment support in structures.
134 - empty structures support.
135 - gcc testsuite now supported.
136 - output only warning if implicit integer/pointer conversions.
137 - added static bitfield init.
139 version 0.9.13:
141 - correct preprocessing token pasting (## operator) in all cases (added
142   preprocessing number token).
143 - fixed long long register spill.
144 - fixed signed long long '>>'.
145 - removed memory leaks.
146 - better error handling : processing can continue on link errors. A
147   custom callback can be added to display error messages. Most
148   errors do not call exit() now.
149 - ignore -O, -W, -m and -f options
150 - added old style function declarations
151 - added GCC __alignof__ support.
152 - added GCC typeof support.
153 - added GCC computed gotos support.
154 - added stack backtrace in runtime error message. Improved runtime
155   error position display.
157 version 0.9.12:
159 - more fixes for || and && handling.
160 - improved '? :' type handling.
161 - fixed bound checking generation with structures
162 - force '#endif' to be in same file as matching '#if'
163 - #include file optimization with '#ifndef #endif' construct detection
164 - macro handling optimization
165 - added tcc_relocate() and tcc_get_symbol() in libtcc.
167 version 0.9.11:
169 - stdarg.h fix for double type (thanks to Philippe Ribet).
170 - correct white space characters and added MSDOS newline support.
171 - fixed invalid implicit function call type declaration.
172 - special macros such as __LINE__ are defined if tested with defined().
173 - fixed '!' operator with relocated address.
174 - added symbol + offset relocation (fixes some static variable initializers)
175 - '-l' option can be specified anywhere. '-c' option yields default
176   output name. added '-r' option for relocatable output.
177 - fixed '\nnn' octal parsing.
178 - fixed local extern variables declarations.
180 version 0.9.10:
182 - fixed lvalue type when saved in local stack.
183 - fixed '#include' syntax when using macros.
184 - fixed '#line' bug.
185 - removed size limit on strings. Unified string constants handling
186   with variable declarations.
187 - added correct support for '\xX' in wchar_t strings.
188 - added support for bound checking in generated executables
189 - fixed -I include order.
190 - fixed incorrect function displayed in runtime error.
192 version 0.9.9:
194 - fixed preprocessor expression parsing for #if/#elif.
195 - relocated debug info (.stab section).
196 - relocated bounds info (.bounds section).
197 - fixed cast to char of char constants ('\377' is -1 instead of 255)
198 - fixed implicit cast for unary plus.
199 - strings and '__func__' have now 'char[]' type instead of 'char *'
200   (fixes sizeof() return value).
201 - added __start_xxx and __stop_xxx symbols in linker.
202 - better DLL creation support (option -shared begins to work).
203 - ELF sections and hash tables are resized dynamically.
204 - executables and DLLs are stripped by default.
206 version 0.9.8:
208 - First version of full ELF linking support (generate objects, static
209   executable, dynamic executable, dynamic libraries). Dynamic library
210   support is not finished (need PIC support in compiler and some
211   patches in symbol exporting).
212 - First version of ELF loader for object (.o) and archive (.a) files.
213 - Support of simple GNU ld scripts (GROUP and FILE commands)
214 - Separated runtime library and bound check code from TCC (smaller
215   compiler core).
216 - fixed register reload in float compare.
217 - fixed implicit char/short to int casting.
218 - allow array type for address of ('&') operator.
219 - fixed unused || or && result.
220 - added GCC style variadic macro support.
221 - optimized bound checking code for array access.
222 - tcc includes are now in $(prefix)/lib/tcc/include.
223 - more command line options - more consistent handling of multiple
224   input files.
225 - added tcc man page (thanks to Cyril Bouthors).
226 - uClibc Makefile update
227 - converted documentation to texinfo format.
228 - added developper's guide in documentation.
230 version 0.9.7:
232 - added library API for easy dynamic compilation (see libtcc.h - first
233   draft).
234 - fixed long long register spill bug.
235 - fixed '? :' register spill bug.
237 version 0.9.6:
239 - added floating point constant propagation (fixes negative floating
240   point constants bug).
242 version 0.9.5:
244  - uClibc patches (submitted by Alfonso Martone).
245  - error reporting fix
246  - added CONFIG_TCC_BCHECK to get smaller code if needed.
248 version 0.9.4:
250  - windows port (currently cannot use -g, -b and dll functions).
251  - faster and simpler I/O handling.
252  - '-D' option works in all cases.
253  - preprocessor fixes (#elif and empty macro args)
254  - floating point fixes
255  - first code for CIL generation (does not work yet)
257 version 0.9.3:
259  - better and smaller code generator.
260  - full ISOC99 64 bit 'long long' support.
261  - full 32 bit 'float', 64 bit 'double' and 96 bit 'long double' support.
262  - added '-U' option.
263  - added assembly sections support. 
264  - even faster startup time by mmaping sections instead of mallocing them.
265  - added GNUC __attribute__ keyword support (currently supports
266     'section' and 'aligned' attributes).
267  - added ELF file output (only usable for debugging now)
268  - added debug symbol generation (STAB format).
269  - added integrated runtime error analysis ('-g' option: print clear
270    run time error messages instead of "Segmentation fault").
271  - added first version of tiny memory and bound checker ('-b' option).
273 version 0.9.2:
275  - even faster parsing.
276  - various syntax parsing fixes.
277  - fixed external relocation handling for variables or functions pointers.
278  - better function pointers type handling.
279  - can compile multiple files (-i option).
280  - ANSI C bit fields are supported.
281  - beginning of float/double/long double support.
282  - beginning of long long support.
284 version 0.9.1:
286  - full ISOC99 initializers handling.
287  - compound literals.
288  - structures handle in assignments and as function param or return value.
289  - wide chars and strings.
290  - macro bug fix
292 version 0.9:
293  - initial version.