mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-17 15:44:18 +08:00
Init global_expr variable
Some checks are pending
build and test / test-x86_64-linux (push) Waiting to run
build and test / test-x86_64-osx (push) Waiting to run
build and test / test-aarch64-osx (push) Waiting to run
build and test / test-x86_64-win32 (push) Waiting to run
build and test / test-i386-win32 (push) Waiting to run
build and test / test-armv7-linux (push) Waiting to run
build and test / test-aarch64-linux (push) Waiting to run
build and test / test-riscv64-linux (push) Waiting to run
Some checks are pending
build and test / test-x86_64-linux (push) Waiting to run
build and test / test-x86_64-osx (push) Waiting to run
build and test / test-aarch64-osx (push) Waiting to run
build and test / test-x86_64-win32 (push) Waiting to run
build and test / test-i386-win32 (push) Waiting to run
build and test / test-armv7-linux (push) Waiting to run
build and test / test-aarch64-linux (push) Waiting to run
build and test / test-riscv64-linux (push) Waiting to run
This is needed when errors occur when compiling with libtcc. A next compile with libtcc results in undefined symbol.
This commit is contained in:
parent
96229004c4
commit
edcd228214
1
tccgen.c
1
tccgen.c
@ -409,6 +409,7 @@ ST_FUNC int tccgen_compile(TCCState *s1)
|
|||||||
anon_sym = SYM_FIRST_ANOM;
|
anon_sym = SYM_FIRST_ANOM;
|
||||||
nocode_wanted = DATA_ONLY_WANTED; /* no code outside of functions */
|
nocode_wanted = DATA_ONLY_WANTED; /* no code outside of functions */
|
||||||
debug_modes = (s1->do_debug ? 1 : 0) | s1->test_coverage << 1;
|
debug_modes = (s1->do_debug ? 1 : 0) | s1->test_coverage << 1;
|
||||||
|
global_expr = 0;
|
||||||
|
|
||||||
tcc_debug_start(s1);
|
tcc_debug_start(s1);
|
||||||
tcc_tcov_start (s1);
|
tcc_tcov_start (s1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user