4 - -b : bounds checker much improved (herman ten brugge)
5 - -bt : support for standalone backtraces also (grischka)
6 - -gdwarf : debug format (herman ten brugge)
7 - -M, -MM, and -MMD (Arthur Williams)
8 - -W[no-]error=<option> (Steffen Nurpmeso)
11 - new RISC-V (riscv64) target (Michael Matz)
12 - native macOS support for x86_64 (Michael Matz, Herman ten Brugge)
13 - arm and riscv64 assemblers (Danny Milosavljevic)
14 - Android support with position independent executables (grischka)
17 - _Static_assert() (matthias)
18 - __attribute__ ((cleanup(func))) (matthias)
19 - stdatomic (Dmitry Selyutin)
20 - asm goto ("jmp %l[label]" : : : : label) (Michael Matz)
23 - ... many, see git shortlog release_0_9_27...release_0_9_27
28 - -x[c|a|n] filetype option (Sergey Korshunoff)
29 - -P[1], -dD, -dM preprocessor options (Sergey Korshunoff)
30 - -Wl,-(no-)whole-archive linker option (Reuben Thomas)
31 - -mms-bitfields option (David Mertens)
32 - -include <file> option (Michael Matz)
33 - -mno-sse on x86-64 disables use of SSE instructions
34 - @listfile support (Vlad Vissoultchev)
35 - tcc -ar/-impdef - formerly tiny_xxx tools integrated (grischka)
36 - CPATH, C_INCLUDE_PATH and LIBRARY_PATH environment variables support
37 (Andrew Aladjev, Urs Janssen)
40 - new AARCH64 (arm64) target (Edmund Grimley Evans)
41 - vastly improved support for ARM hard float calling convention
42 (Thomas Preud'homme, Daniel Glöckner)
43 - provide a runtime library for ARM (Thomas Preud'homme)
44 - many x86_64 ABI fixes incl. XMM register passing and tests (James Lyon)
45 - ABI tests with native compiler using libtcc (James Lyon)
46 - UNICODE startup code supports wmain and wWinMain (YX Hao)
47 - shared libraries for x86_64 (Michael Matz)
48 - Bootstrap native Windows 32/64 compiler using Cygwin+gcc (Christian Jullien)
51 - VLA (variable length array) improved (James Lyon, Pip Cet)
52 - import functions by ordinal in .def files on windows (YX Hao)
53 - x86/x86_64 assembler much improved (Michael Matz)
54 - simple dead code suppression (Edmund Grimley Evans, Michael Matz, grischka)
55 - implement round/fmin/fmax etc. math on windows (Avi Halachmi)
56 - #pragma once support (Sergey Korshunoff, Vlad Vissoultchev, ...)
57 - switch/case code improved (Zdenek Pavlas)
58 - ~15% faster by TinyAlloc fast memory allocator (Vlad Vissoultchev)
59 - standard conforming (and GCC compatible) struct initialization
61 - bit-field layout made compatible with GCC (Michael Matz)
62 - UTF8 in string literals supported (Zdenek Pavlas)
63 _ _Generic(...) supported (Matthias Gatto)
66 - TinyCC partly relicensed to MIT license (See RELICENSING file).
71 - -MD/-MF (automatically generate dependencies for make)
72 - -pthread option (same as -D_REENTRANT -lpthread) (Henry Kroll III)
73 - -m32/-m64 to re-exec cross compiler (Henry Kroll III)
74 - -Wl, Mimic all GNU -option forms supported by ld (Kirill Smelkov)
75 - new LIBTCCAPI tcc_set_options() (grischka)
78 - Many improvements for x86-64 target (Shinichiro Hamaji, Michael Matz, grischka)
79 - x86-64 assembler (Frederic Feret)
80 - Many improvements for ARM target (Daniel Glöckner, Thomas Preud'homme)
81 - Support WinCE PE ARM (Timo VJ Lahde)
82 - Support ARM hardfloat calling convention (Thomas Preud'homme)
83 - Support SELinux (Security-Enhanced Linux) (Henry Kroll III)
84 - Support Debian GNU/kFreeBSD kernels (Pierre Chifflier)
85 - Support GNU/Hurd kernels (Thomas Preud'homme)
86 - Support OSX (tcc -run only) (Milutin Jovanovic)
87 - Support multiarch configuration (Thomas Preud'homme)
88 - Support out-of-tree build (Akim Demaille)
91 - C99 variable length arrays (Thomas Preud'homme & Joe Soroka)
92 - Asm labels for variables and functions (Thomas Preud'homme)
93 - STT_GNU_IFUNC (Indirect functions as externals) (Thomas Preud'homme)
94 - More tests (tests2) (Milutin Jovanovic)
98 - first support for x86-64 target (Shinichiro Hamaji)
100 - split tcc.c into tcc.h libtcc.c tccpp.c tccgen.c tcc.c
101 - improved preprocess output with linenumbers and spaces preserved
102 - tcc_relocate now copies code into user buffer
103 - fix bitfields with non-int types and in unions
104 - improve ARM cross-compiling (Daniel Glöckner)
105 - link stabstr sections from multiple objects
106 - better (still limited) support for multiple TCCStates
110 - added verbosity levels -v, -vv, -vvv
111 - Accept standard input as an inputstream (Hanzac Chen)
112 - Support c89 compilers other than gcc (Hanzac Chen)
113 - -soname linker option (Marc Andre Tanner)
114 - Just warn about unknown directives, ignore quotes in #error/#warning
115 - Define __STDC_VERSION__=199901L (477)
116 - Switch to newer tccpe.c (includes support for resources)
117 - Handle backslashes within #include/#error/#warning
118 - Import changesets (part 4) 428,457,460,467: defines for openbsd etc.
119 - Use _WIN32 for a windows hosted tcc and define it for the PE target,
120 otherwise define __unix / __linux (Detlef Riekenberg)
121 - Import changesets (part 3) 409,410: ARM EABI by Daniel Glöckner
122 - Some in-between fixes:
123 TCC -E no longer hangs with macro calls involving newlines.
124 (next_nomacro1 now advances the read-pointer with TOK_LINEFEED)
125 Global cast (int g_i = 1LL;) no longer crashes tcc.
126 (nocode_wanted is initially 1, and only 0 for gen_function)
127 On win32 now tcc.exe finds 'include' & 'lib' even if itself is in 'bin'.
128 (new function w32_tcc_lib_path removes 'bin' if detected)
129 Added quick build batch file for mingw (win32/build-tcc.bat)
130 Last added case label optimization (455) produced wrong code. Reverted.
132 - Import more changesets from Rob Landley's fork (part 2):
133 487: Handle long long constants in gen_opic() (Rob Landley)
134 484: Handle parentheses within __attribute__((...)) (Rob Landley)
135 480: Remove a goto in decl_initializer_alloc (Rob Landley)
136 475: Fix dereferences in inline assembly output (Joshua Phillips)
137 474: Cast ptrs to ints of different sizes correctly (Joshua Phillips)
138 473: Fix size of structs with empty array member (Joshua Phillips)
139 470: No warning for && and || with mixed pointers/integers (Rob Landley)
140 469: Fix symbol visibility problems in the linker (Vincent Pit)
141 468: Allow && and || involving pointer arguments (Rob Landley)
142 455: Optimize case labels with no code in between (Zdenek Pavlas)
143 450: Implement alloca for x86 (grischka)
144 415: Parse unicode escape sequences (Axel Liljencrantz)
145 407: Add a simple va_copy() in stdarg.h (Hasso Tepper)
146 400: Allow typedef names as symbols (Dave Dodge)
148 - Import some changesets from Rob Landley's fork (part 1):
149 462: Use LGPL with bcheck.c and il-gen.c
150 458: Fix global compound literals (in unary: case '&':) (Andrew Johnson)
151 456: Use return code from tcc_output_file in main() (Michael Somos)
152 442: Fix indirections with function pointers (***fn)() (grischka)
153 441: Fix LL left shift in libtcc1.c:__shldi3 (grischka)
154 440: Pass structures and function ptrs through ?: (grischka)
155 439: Keep rvalue in bit assignment (bit2 = bit1 = x) (grischka)
156 438: Degrade nonportable pointer assignment to warning (grischka)
157 437: Call 'saveregs()' before jumping with logical and/or/not (grischka)
158 435: Put local static variables into global memory (grischka)
159 432/434: Cast double and ptr to bool (grischka)
160 420: Zero pad x87 tenbyte long doubles (Felix Nawothnig)
161 417: Make 'sizeof' unsigned (Rob Landley)
162 397: Fix save_reg for longlongs (Daniel Glöckner)
163 396: Fix "invalid relocation entry" problem on ubuntu - (Bernhard Fischer)
165 - ignore AS_NEEDED ld command
166 - mark executable sections as executable when running in memory
167 - added support for win32 wchar_t (Filip Navara)
168 - segment override prefix support (Filip Navara)
169 - normalized slashes in paths (Filip Navara)
170 - windows style fastcall (Filip Navara)
171 - support for empty input register section in asm (Filip Navara)
172 - anonymous union/struct support (Filip Navara)
173 - fixed parsing of function parameters
174 - workaround for function pointers in conditional expressions (Dave Dodge)
175 - initial '-E' option support to use the C preprocessor alone
176 - discard type qualifiers when comparing function parameters (Dave Dodge)
177 - Bug fix: A long long value used as a test expression ignores the
178 upper 32 bits at runtime (Dave Dodge)
179 - fixed multiple concatenation of PPNUM tokens (initial patch by Dave Dodge)
180 - fixed multiple typedef specifiers handling
181 - fixed sign extension in some type conversions (Dave Dodge)
185 - initial PE executable format for windows version (grischka)
186 - '#pragma pack' support (grischka)
187 - '#include_next' support (Bernhard Fischer)
188 - ignore '-pipe' option
189 - added -f[no-]leading-underscore
190 - preprocessor function macro parsing fix (grischka)
194 - simple memory optimisations: kernel compilation is 30% faster
195 - linker symbol definitions fixes
197 - fixed value stack full error
198 - 'packed' attribute support for variables and structure fields
199 - ignore 'const' and 'volatile' in function prototypes
200 - allow '_Bool' in bit fields
204 - ARM target support (Daniel Glöckner)
205 - added '-funsigned-char, '-fsigned-char' and
206 '-Wimplicit-function-declaration'
207 - fixed assignment of const struct in struct
208 - line comment fix (reported by Bertram Felgenhauer)
209 - initial TMS320C67xx target support (TK)
211 - regparm() attribute
212 - many built-in assembler fixes
213 - added '.org', '.fill' and '.previous' assembler directives
214 - '-fno-common' option
215 - '-Ttext' linker option
216 - section alignment fixes
218 - do not generate code for unused inline functions
219 - '-oformat' linker option.
220 - added 'binary' output format.
225 - added '.gnu.linkonce' ELF sections support
226 - fixed libc linking when running in memory (avoid 'stat' function
228 - extended '-run' option to be able to give several arguments to a C
233 - "alacarte" linking (Dave Long)
234 - simpler function call
235 - more strict type checks
236 - added 'const' and 'volatile' support and associated warnings
237 - added -Werror, -Wunsupported, -Wwrite-strings, -Wall.
238 - added __builtin_types_compatible_p() and __builtin_constant_p()
239 - chars support in assembler (Dave Long)
240 - .string, .globl, .section, .text, .data and .bss asm directive
242 - man page generated from tcc-doc.texi
243 - fixed macro argument substitution
244 - fixed zero argument macro parsing
245 - changed license to LGPL
246 - added -rdynamic option support
250 - header fix (time.h)
251 - fixed inline asm without operand case
252 - fixed 'default:' or 'case x:' with '}' after (incorrect C construct accepted
254 - added 'A' inline asm constraint.
259 - tcc doc fixes (Peter Lund)
260 - struct parse fix (signaled by Pedro A. Aranda Gutierrez)
261 - better _Bool lvalue support (signaled by Alex Measday)
262 - function parameters must be converted to pointers (signaled by Neil Brown)
263 - sanitized string and character constant parsing
264 - fixed comment parse (signaled by Damian M Gryski)
265 - fixed macro function bug (signaled by Philippe Ribet)
266 - added configure (initial patch by Mitchell N Charity)
267 - added '-run' and '-v' options (initial patch by vlindos)
268 - added real date report in __DATE__ and __TIME__ macros
272 - added assembler language support
273 - added GCC inline asm() support
274 - fixed multiple variable definitions : uninitialized variables are
275 created as COMMON symbols.
276 - optimized macro processing
277 - added GCC statement expressions support
278 - added GCC local labels support
279 - fixed array declaration in old style function parameters
280 - support casts in static structure initializations
281 - added various __xxx[__] keywords for GCC compatibility
282 - ignore __extension__ GCC in an expression or in a type (still not perfect)
283 - added '? :' GCC extension support
287 - compilation fixes for glibc 2.2, gcc 2.95.3 and gcc 3.2.
288 - FreeBSD compile fixes. Makefile patches still missing (Carl Drougge).
289 - fixed file type guessing if '.' is in the path.
290 - fixed tcc_compile_string()
291 - add a dummy page in ELF files to fix RX/RW accesses (pageexec at
296 - added #warning. error message if invalid preprocessing directive.
297 - added CType structure to ease typing (faster parse).
298 - suppressed secondary hash tables (faster parse).
299 - rewrote parser by optimizing common cases (faster parse).
300 - fixed signed long long comparisons.
301 - fixed 'int a(), b();' declaration case.
302 - fixed structure init without '{}'.
303 - correct alignment support in structures.
304 - empty structures support.
305 - gcc testsuite now supported.
306 - output only warning if implicit integer/pointer conversions.
307 - added static bitfield init.
311 - correct preprocessing token pasting (## operator) in all cases (added
312 preprocessing number token).
313 - fixed long long register spill.
314 - fixed signed long long '>>'.
315 - removed memory leaks.
316 - better error handling : processing can continue on link errors. A
317 custom callback can be added to display error messages. Most
318 errors do not call exit() now.
319 - ignore -O, -W, -m and -f options
320 - added old style function declarations
321 - added GCC __alignof__ support.
322 - added GCC typeof support.
323 - added GCC computed gotos support.
324 - added stack backtrace in runtime error message. Improved runtime
325 error position display.
329 - more fixes for || and && handling.
330 - improved '? :' type handling.
331 - fixed bound checking generation with structures
332 - force '#endif' to be in same file as matching '#if'
333 - #include file optimization with '#ifndef #endif' construct detection
334 - macro handling optimization
335 - added tcc_relocate() and tcc_get_symbol() in libtcc.
339 - stdarg.h fix for double type (thanks to Philippe Ribet).
340 - correct white space characters and added MSDOS newline support.
341 - fixed invalid implicit function call type declaration.
342 - special macros such as __LINE__ are defined if tested with defined().
343 - fixed '!' operator with relocated address.
344 - added symbol + offset relocation (fixes some static variable initializers)
345 - '-l' option can be specified anywhere. '-c' option yields default
346 output name. added '-r' option for relocatable output.
347 - fixed '\nnn' octal parsing.
348 - fixed local extern variables declarations.
352 - fixed lvalue type when saved in local stack.
353 - fixed '#include' syntax when using macros.
355 - removed size limit on strings. Unified string constants handling
356 with variable declarations.
357 - added correct support for '\xX' in wchar_t strings.
358 - added support for bound checking in generated executables
359 - fixed -I include order.
360 - fixed incorrect function displayed in runtime error.
364 - fixed preprocessor expression parsing for #if/#elif.
365 - relocated debug info (.stab section).
366 - relocated bounds info (.bounds section).
367 - fixed cast to char of char constants ('\377' is -1 instead of 255)
368 - fixed implicit cast for unary plus.
369 - strings and '__func__' have now 'char[]' type instead of 'char *'
370 (fixes sizeof() return value).
371 - added __start_xxx and __stop_xxx symbols in linker.
372 - better DLL creation support (option -shared begins to work).
373 - ELF sections and hash tables are resized dynamically.
374 - executables and DLLs are stripped by default.
378 - First version of full ELF linking support (generate objects, static
379 executable, dynamic executable, dynamic libraries). Dynamic library
380 support is not finished (need PIC support in compiler and some
381 patches in symbol exporting).
382 - First version of ELF loader for object (.o) and archive (.a) files.
383 - Support of simple GNU ld scripts (GROUP and FILE commands)
384 - Separated runtime library and bound check code from TCC (smaller
386 - fixed register reload in float compare.
387 - fixed implicit char/short to int casting.
388 - allow array type for address of ('&') operator.
389 - fixed unused || or && result.
390 - added GCC style variadic macro support.
391 - optimized bound checking code for array access.
392 - tcc includes are now in $(prefix)/lib/tcc/include.
393 - more command line options - more consistent handling of multiple
395 - added tcc man page (thanks to Cyril Bouthors).
396 - uClibc Makefile update
397 - converted documentation to texinfo format.
398 - added developper's guide in documentation.
402 - added library API for easy dynamic compilation (see libtcc.h - first
404 - fixed long long register spill bug.
405 - fixed '? :' register spill bug.
409 - added floating point constant propagation (fixes negative floating
410 point constants bug).
414 - uClibc patches (submitted by Alfonso Martone).
415 - error reporting fix
416 - added CONFIG_TCC_BCHECK to get smaller code if needed.
420 - windows port (currently cannot use -g, -b and dll functions).
421 - faster and simpler I/O handling.
422 - '-D' option works in all cases.
423 - preprocessor fixes (#elif and empty macro args)
424 - floating point fixes
425 - first code for CIL generation (does not work yet)
429 - better and smaller code generator.
430 - full ISOC99 64 bit 'long long' support.
431 - full 32 bit 'float', 64 bit 'double' and 96 bit 'long double' support.
433 - added assembly sections support.
434 - even faster startup time by mmaping sections instead of mallocing them.
435 - added GNUC __attribute__ keyword support (currently supports
436 'section' and 'aligned' attributes).
437 - added ELF file output (only usable for debugging now)
438 - added debug symbol generation (STAB format).
439 - added integrated runtime error analysis ('-g' option: print clear
440 run time error messages instead of "Segmentation fault").
441 - added first version of tiny memory and bound checker ('-b' option).
445 - even faster parsing.
446 - various syntax parsing fixes.
447 - fixed external relocation handling for variables or functions pointers.
448 - better function pointers type handling.
449 - can compile multiple files (-i option).
450 - ANSI C bit fields are supported.
451 - beginning of float/double/long double support.
452 - beginning of long long support.
456 - full ISOC99 initializers handling.
458 - structures handle in assignments and as function param or return value.
459 - wide chars and strings.