gcc 3 tests activated - new tests for 0.9.17
[tinycc.git] / Changelog
blobc2cfce55ecd137798c8486a6c9fb2b76454d55d1
1 version 0.9.17:
3 - PLT generation fix
4 - tcc doc fixes (Peter Lund)
5 - struct parse fix (signaled by Pedro A. Aranda Gutierrez)
6 - better _Bool lvalue support (signaled by Alex Measday)
7 - function parameters must be converted to pointers (signaled by Neil Brown)
8 - sanitized string and character constant parsing
9 - fixed comment parse (signaled by Damian M Gryski)
10 - fixed macro function bug (signaled by Philippe Ribet)
12 version 0.9.16:
14 - added assembler language support
15 - added GCC inline asm() support
16 - fixed multiple variable definitions : uninitialized variables are
17   created as COMMON symbols.
18 - optimized macro processing
19 - added GCC statement expressions support
20 - added GCC local labels support
21 - fixed array declaration in old style function parameters
22 - support casts in static structure initializations
23 - added various __xxx[__] keywords for GCC compatibility
24 - ignore __extension__ GCC in an expression or in a type (still not perfect)
25 - added '? :' GCC extension support
27 version 0.9.15:
29 - compilation fixes for glibc 2.2, gcc 2.95.3 and gcc 3.2.
30 - FreeBSD compile fixes. Makefile patches still missing (Carl Drougge).
31 - fixed file type guessing if '.' is in the path.
32 - fixed tcc_compile_string()
33 - add a dummy page in ELF files to fix RX/RW accesses (pageexec at
34   freemail dot hu).
36 version 0.9.14:
38 - added #warning. error message if invalid preprocessing directive.
39 - added CType structure to ease typing (faster parse).
40 - suppressed secondary hash tables (faster parse).
41 - rewrote parser by optimizing common cases (faster parse).
42 - fixed signed long long comparisons.
43 - fixed 'int a(), b();' declaration case.
44 - fixed structure init without '{}'.
45 - correct alignment support in structures.
46 - empty structures support.
47 - gcc testsuite now supported.
48 - output only warning if implicit integer/pointer conversions.
49 - added static bitfield init.
51 version 0.9.13:
53 - correct preprocessing token pasting (## operator) in all cases (added
54   preprocessing number token).
55 - fixed long long register spill.
56 - fixed signed long long '>>'.
57 - removed memory leaks.
58 - better error handling : processing can continue on link errors. A
59   custom callback can be added to display error messages. Most
60   errors do not call exit() now.
61 - ignore -O, -W, -m and -f options
62 - added old style function declarations
63 - added GCC __alignof__ support.
64 - added GCC typeof support.
65 - added GCC computed gotos support.
66 - added stack backtrace in runtime error message. Improved runtime
67   error position display.
69 version 0.9.12:
71 - more fixes for || and && handling.
72 - improved '? :' type handling.
73 - fixed bound checking generation with structures
74 - force '#endif' to be in same file as matching '#if'
75 - #include file optimization with '#ifndef #endif' construct detection
76 - macro handling optimization
77 - added tcc_relocate() and tcc_get_symbol() in libtcc.
79 version 0.9.11:
81 - stdarg.h fix for double type (thanks to Philippe Ribet).
82 - correct white space characters and added MSDOS newline support.
83 - fixed invalid implicit function call type declaration.
84 - special macros such as __LINE__ are defined if tested with defined().
85 - fixed '!' operator with relocated address.
86 - added symbol + offset relocation (fixes some static variable initializers)
87 - '-l' option can be specified anywhere. '-c' option yields default
88   output name. added '-r' option for relocatable output.
89 - fixed '\nnn' octal parsing.
90 - fixed local extern variables declarations.
92 version 0.9.10:
94 - fixed lvalue type when saved in local stack.
95 - fixed '#include' syntax when using macros.
96 - fixed '#line' bug.
97 - removed size limit on strings. Unified string constants handling
98   with variable declarations.
99 - added correct support for '\xX' in wchar_t strings.
100 - added support for bound checking in generated executables
101 - fixed -I include order.
102 - fixed incorrect function displayed in runtime error.
104 version 0.9.9:
106 - fixed preprocessor expression parsing for #if/#elif.
107 - relocated debug info (.stab section).
108 - relocated bounds info (.bounds section).
109 - fixed cast to char of char constants ('\377' is -1 instead of 255)
110 - fixed implicit cast for unary plus.
111 - strings and '__func__' have now 'char[]' type instead of 'char *'
112   (fixes sizeof() return value).
113 - added __start_xxx and __stop_xxx symbols in linker.
114 - better DLL creation support (option -shared begins to work).
115 - ELF sections and hash tables are resized dynamically.
116 - executables and DLLs are stripped by default.
118 version 0.9.8:
120 - First version of full ELF linking support (generate objects, static
121   executable, dynamic executable, dynamic libraries). Dynamic library
122   support is not finished (need PIC support in compiler and some
123   patches in symbol exporting).
124 - First version of ELF loader for object (.o) and archive (.a) files.
125 - Support of simple GNU ld scripts (GROUP and FILE commands)
126 - Separated runtime library and bound check code from TCC (smaller
127   compiler core).
128 - fixed register reload in float compare.
129 - fixed implicit char/short to int casting.
130 - allow array type for address of ('&') operator.
131 - fixed unused || or && result.
132 - added GCC style variadic macro support.
133 - optimized bound checking code for array access.
134 - tcc includes are now in $(prefix)/lib/tcc/include.
135 - more command line options - more consistent handling of multiple
136   input files.
137 - added tcc man page (thanks to Cyril Bouthors).
138 - uClibc Makefile update
139 - converted documentation to texinfo format.
140 - added developper's guide in documentation.
142 version 0.9.7:
144 - added library API for easy dynamic compilation (see libtcc.h - first
145   draft).
146 - fixed long long register spill bug.
147 - fixed '? :' register spill bug.
149 version 0.9.6:
151 - added floating point constant propagation (fixes negative floating
152   point constants bug).
154 version 0.9.5:
156  - uClibc patches (submitted by Alfonso Martone).
157  - error reporting fix
158  - added CONFIG_TCC_BCHECK to get smaller code if needed.
160 version 0.9.4:
162  - windows port (currently cannot use -g, -b and dll functions).
163  - faster and simpler I/O handling.
164  - '-D' option works in all cases.
165  - preprocessor fixes (#elif and empty macro args)
166  - floating point fixes
167  - first code for CIL generation (does not work yet)
169 version 0.9.3:
171  - better and smaller code generator.
172  - full ISOC99 64 bit 'long long' support.
173  - full 32 bit 'float', 64 bit 'double' and 96 bit 'long double' support.
174  - added '-U' option.
175  - added assembly sections support. 
176  - even faster startup time by mmaping sections instead of mallocing them.
177  - added GNUC __attribute__ keyword support (currently supports
178     'section' and 'aligned' attributes).
179  - added ELF file output (only usable for debugging now)
180  - added debug symbol generation (STAB format).
181  - added integrated runtime error analysis ('-g' option: print clear
182    run time error messages instead of "Segmentation fault").
183  - added first version of tiny memory and bound checker ('-b' option).
185 version 0.9.2:
187  - even faster parsing.
188  - various syntax parsing fixes.
189  - fixed external relocation handling for variables or functions pointers.
190  - better function pointers type handling.
191  - can compile multiple files (-i option).
192  - ANSI C bit fields are supported.
193  - beginning of float/double/long double support.
194  - beginning of long long support.
196 version 0.9.1:
198  - full ISOC99 initializers handling.
199  - compound literals.
200  - structures handle in assignments and as function param or return value.
201  - wide chars and strings.
202  - macro bug fix
204 version 0.9:
205  - initial version.