- 19 Aug, 2023 13 commits
-
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
- 18 Aug, 2023 4 commits
-
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
Bellard不干了 authored
-
- 25 Apr, 2023 6 commits
-
-
grischka authored
- integrate CONST_WANTED with nocode_wanted - expr_const() checks VT_NONCONST
-
grischka authored
- tccpp.c: rename ... to __TCC_BCHECK__/__TCC_BACKTRACE__ - libtcc.c: correct total line count - libtcc.c: support -run -- args... (instead of -run @ args ...) - Makefile/build-tcc.bat: streamline GITHASH string somewhat - bt-exe.c: avoid redef of pstrcpy() with 'tcc -bt tcc.c ...'
-
grischka authored
avoid memory leaks with lost CStrings on stack after errors. tccpp.c: - use/abuse static Cstring tokcstr where possible tccgen.c: - use/abuse static Cstring initstr where possible tcc.h/libtcc.a: - add 'stk_data' array to track memory pointer on stack - add macros stk_push/pop() and cstr_new/free_s() tccasm.c: - use that - use char[16] instead of char* for op.constraint
-
grischka authored
libtcc.c: - guard tcc_realloc/free_debug() with a semaphore tccdbg.c: - allow tcc_debug_end() to be called twice safely
-
grischka authored
This avoids 'exit(1)' with errors outside of compilation (nasty in particular with libtcc usage) As a sideeffect multiple errors can be seen for linker errors (such as undefined symbols, relocation errors, ...)
-
grischka authored
tccgen.c: - allow cross-compiling 0.0L (cross-compile tcc with tcc) tccelf.c: - use alignment of TLS section for PT_TLS tccpp.c: - support long double constants on systems that do not support long doubles (i.e. mark them (VT_DOUBLE | VT_LONG)) tccdefs.h: #define __has_feature() for android remove _unaligned (why define a msvc extension under !_WIN32)
-
- 20 Apr, 2023 1 commit
-
-
grischka authored
reported by "vsfos" https://lists.gnu.org/archive/html/tinycc-devel/2023-04/msg00007.html
-
- 15 Apr, 2023 2 commits
-
-
herman ten brugge authored
-
herman ten brugge authored
-
- 08 Apr, 2023 1 commit
-
-
Ziyao authored
- Correct stack adjustment in gfunc_call() - Add a regression test (130_large_argument)
-
- 23 Mar, 2023 2 commits
-
-
Detlef Riekenberg authored
Value 0 and values >2GB where printed wrong during tests with yarpgen (v1) Starting the output with a hashtag make it compatible to TAP -- Regards ... Detlef
-
Detlef Riekenberg authored
These extensions where used by other compiler to generate different code on old cpu's (arm and x86 before pentium/pentiumpro) to prevent processor exceptions / very high delays when accessing an unaligned pointer. -- Regards ... Detlef
-
- 18 Mar, 2023 2 commits
-
-
herman ten brugge authored
-
Avi Halachmi (:avih) authored
Use old (=no) if autodetect succeeded and osx ver <= 10, else new. Override is possible, and now also documented at ./configure --help.
-
- 13 Mar, 2023 1 commit
-
-
Michael Matz authored
if we include standard headers on glibc-based systems then we can't use '__attribute__' (those are defined away for unknown compilers) but must use '__attribute' (or #undef that token).
-
- 12 Mar, 2023 2 commits
-
-
grischka authored
tccgen.c: - just track local_stack for small scopes (can't declare variables) - fix a vla problem with nested scopes - move debug N_L/RBRAC into curly braced block Also: - tccpp.c: move 'label_...' functions to tccgen.c - tccpp.c: let get_tok_str() say "<no name>" for anonymous symbols - tcctest.c: let __pa_symbol() work for memory > 2GB - 119_random_stuff.c: revert strtoll test (no reason to test libc) - tccdefs.h/tcctest.c: enable bit fncs for _WIN32 - Makefile: - use i686-linux-gnu instead of i386-linux-gnu for cross-i386 - update 'make help' - revert umplicit 'make all' with 'make install' (but print warning)
-
grischka authored
instead in vcheck_cmp(), pass the CODE_OFF_BIT to generators unless other nocode purposes are set. This reverts commit cad87395. Also in 128_run_atexit.c: avoid line output disorder which may happen on windows when tcc itself and runned code are using two different printf implementations and tcc would print the "[Returns 1]" above any output from the runned test.
-
- 11 Mar, 2023 4 commits
-
-
Detlef Riekenberg authored
We have that define already in tcc.h and changing the define in tcc.h breaks compilation of tcc without this fix. -- Regards ... Detlef
-
herman ten brugge authored
The generated code by yarpgen failed. I traced the problem to expr_landor. The problem was that nocode_wanted was removing too much code. See also testcase 33.
-
herman ten brugge authored
The yarpgen test code uses very complex expressions.
-
herman ten brugge authored
The problem was that enums can also be present in vset_VT_JMP. Also see testcode.
-
- 10 Mar, 2023 2 commits
-
-
Michael Matz authored
the optimization of a ternary op with two boolean operands had the same problem (as in the last commit) of loosing the type.
-
Michael Matz authored
the casted type was lost when a delayed bool was finally converted to a value. See testcase, in the wrong case the '(unsigned int)' cast was ignored, and hence the division was signed reulting in -1 instead of the proper 0x7fffffff.
-