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)
Showing the changes to .github (1 of 17 files). Show all
Unified · Split
| @@ -31,7 +31,7 @@ jobs: · 30 unmodified lines | |||
| 31 | 31 | ||
| 32 | test-x86_64-win32: | 32 | test-x86_64-win32: |
| 33 | runs-on: windows-2025 | 33 | runs-on: windows-2025 |
| 34 | timeout-minutes: 4 | 34 | timeout-minutes: 6 |
| 35 | steps: | 35 | steps: |
| 36 | - uses: actions/checkout@v4 | 36 | - uses: actions/checkout@v4 |
| 37 | - name: make & test tcc (x86_64-win32) | 37 | - name: make & test tcc (x86_64-win32) |
| @@ -44,10 +44,22 @@ jobs: · 6 unmodified lines | |||
| 44 | C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-x86_64-gcc" | 44 | C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-x86_64-gcc" |
| 45 | echo ::endgroup:: | 45 | echo ::endgroup:: |
| 46 | C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k" | 46 | 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 | ||
| 47 | 59 | ||
| 48 | test-i386-win32: | 60 | test-i386-win32: |
| 49 | runs-on: windows-2025 | 61 | runs-on: windows-2025 |
| 50 | timeout-minutes: 4 | 62 | timeout-minutes: 6 |
| 51 | steps: | 63 | steps: |
| 52 | - uses: actions/checkout@v4 | 64 | - uses: actions/checkout@v4 |
| 53 | - name: make & test tcc (i386-win32) | 65 | - name: make & test tcc (i386-win32) |
| @@ -59,7 +71,19 @@ jobs: · 5 unmodified lines | |||
| 59 | set CHERE_INVOKING=yes | 71 | set CHERE_INVOKING=yes |
| 60 | C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-i686-gcc" | 72 | C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-i686-gcc" |
| 61 | echo ::endgroup:: | 73 | 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 | ||
| 63 | 87 | ||
| 64 | test-armv7-linux: | 88 | test-armv7-linux: |
| 65 | runs-on: ubuntu-22.04 | 89 | runs-on: ubuntu-22.04 |