History

tcc.c:main() free all & etc...

tcc.c: - be nice to leak checkers tcctools.c: - remove unused TCCState params tccrun.c: - call bound_exit() after signals to let it free mem tccelf.c: - use section_add() instead of section_ptr_add() when more appropriate tccpp.c: - use size_t to align tal_header naturally - 'POINTER_SIZE' and 'PTR_SIZE' in the same source is confusing - "char file_name[TAL_DEBUG_FILE_LEN + 1];" looks silly. - next_nomacro(): skip UTF8 BOM at BOF tccgen.c: - get rid of STMT_EXPR clause on top of block - warn with useless type like 'int;' - move skip()'s in block() for better error line-info - BIT_SIZE bits are meaningful only with VT_BITFIELD (not with enums for example) workflow/test-win32: - build with MSVC using build-tcc.bat also alloca.S: - fix 'off by one' problem on win32 (must touch current page too because the 'push %edx' at the end could touch the next page) - must not align greater than 4 when used for struct args (i386-gen.c:gfunc_call()) libtcc.c: - accept -g1dwarf (dwarf output, only line info)

grischka committed 1 year ago

Commit deb7a3f1 parent 8845b6c17 files · +187 −162Browse files

Showing the changes to .github (1 of 17 files). Show all

Unified · Split

.github/workflows/build.yml+27−3
@@ -31,7 +31,7 @@ jobs: · 30 unmodified lines
3131
3232 test-x86_64-win32:
3333 runs-on: windows-2025
34− timeout-minutes: 4
34+ timeout-minutes: 6
3535 steps:
3636 - uses: actions/checkout@v4
3737 - name: make & test tcc (x86_64-win32)
@@ -44,10 +44,22 @@ jobs: · 6 unmodified lines
4444 C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-x86_64-gcc"
4545 echo ::endgroup::
4646 C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k"
47+ - uses: ilammy/msvc-dev-cmd@v1
48+ with:
49+ arch: amd64
50+ - name: build with MSVC (x86_64-win32)
51+ shell: cmd
52+ run: |
53+ echo ::group:: run build-tcc.bat
54+ cd win32
55+ call build-tcc.bat -t 64 -c cl
56+ echo ::endgroup::
57+ .\tcc -I.. libtcc.dll -v ../tests/libtcc_test.c -o libtest.exe && .\libtest.exe
58+ .\tcc -I.. libtcc.dll -run ../tests/libtcc_test.c
4759
4860 test-i386-win32:
4961 runs-on: windows-2025
50− timeout-minutes: 4
62+ timeout-minutes: 6
5163 steps:
5264 - uses: actions/checkout@v4
5365 - name: make & test tcc (i386-win32)
@@ -59,7 +71,19 @@ jobs: · 5 unmodified lines
5971 set CHERE_INVOKING=yes
6072 C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-i686-gcc"
6173 echo ::endgroup::
62− C:\msys64\usr\bin\bash -l -c "./configure && make all && make test -k"
74+ C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k"
75+ - uses: ilammy/msvc-dev-cmd@v1
76+ with:
77+ arch: x86
78+ - name: build with MSVC (i386-win32)
79+ shell: cmd
80+ run: |
81+ echo ::group:: run build-tcc.bat
82+ cd win32
83+ call build-tcc.bat -t 32 -c cl
84+ echo ::endgroup::
85+ .\tcc -I.. libtcc.dll -v ../tests/libtcc_test.c -o libtest.exe && .\libtest.exe
86+ .\tcc -I.. libtcc.dll -run ../tests/libtcc_test.c
6387
6488 test-armv7-linux:
6589 runs-on: ubuntu-22.04

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t