workflow: - revert 'pinact for security' for readability from 831c3fa184e3b4a93f09c7fd04170b022596aafd tccpp.c: - remove code that allows tcc to parse numbers incorrectly (*) from 829c84852012426230b0bec0efcfc1609bf4665b tccgen.c: - Revert "Relaxed the 'incompatible pointer type' warning a bit" (*) from d9ec17d33427fce6f73c5b5bb9646d3b077bb4e4. tccrun.c: - remove support for -nostdlib -run for simplicity, we require "main" with tcc -run always tccpp.c: - Revert "Free all preprocessor memmory in case of error." from c96f0cad61dbaa16c826879f65d5614e86eda8f2 Remove TinyAlloc->limit instead. Thus it can do also bigger allocs. Big TokenStrings (like 200kb+ when compiling tcc) may come from inline functions or from large initializers. Makefile/configure: - use --config-pie for configuring tcc output only - use -fPIC with clang-x86_64 to avoid 32-bit relocs libtcc.c: - fix "tcc file.c -run" i.e. -run as last argument i386-gen.c: - PIC refactor (*) sorry, but code in tcc should have a minimum of generic relevance
Showing the changes to .github (1 of 24 files). Show all
Unified · Split
| @@ -9,7 +9,7 @@ jobs: · 8 unmodified lines | ||
| 9 | 9 | runs-on: ubuntu-22.04 |
| 10 | 10 | timeout-minutes: 2 |
| 11 | 11 | steps: |
| 12 | − - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 12 | + - uses: actions/checkout@v4 | |
| 13 | 13 | - name: make & test tcc (x86_64-linux) |
| 14 | 14 | run: ./configure && make && make test -k |
| 15 | 15 | |
| @@ -17,7 +17,7 @@ jobs: · 1 unmodified line | ||
| 17 | 17 | runs-on: macos-15-intel |
| 18 | 18 | timeout-minutes: 2 |
| 19 | 19 | steps: |
| 20 | − - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 20 | + - uses: actions/checkout@v4 | |
| 21 | 21 | - name: make & test tcc (x86_64-osx) |
| 22 | 22 | run: ./configure && make && make test -k |
| 23 | 23 | |
| @@ -25,7 +25,7 @@ jobs: · 1 unmodified line | ||
| 25 | 25 | runs-on: macos-15 |
| 26 | 26 | timeout-minutes: 2 |
| 27 | 27 | steps: |
| 28 | − - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 28 | + - uses: actions/checkout@v4 | |
| 29 | 29 | - name: make & test tcc (aarch64-osx) |
| 30 | 30 | run: ./configure && make && make test -k |
| 31 | 31 | |
| @@ -33,7 +33,7 @@ jobs: · 1 unmodified line | ||
| 33 | 33 | runs-on: windows-2025 |
| 34 | 34 | timeout-minutes: 6 |
| 35 | 35 | steps: |
| 36 | − - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 36 | + - uses: actions/checkout@v4 | |
| 37 | 37 | - name: make & test tcc (x86_64-win32) |
| 38 | 38 | shell: cmd |
| 39 | 39 | run: | |
| @@ -44,7 +44,7 @@ jobs: · 4 unmodified lines | ||
| 44 | 44 | C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-x86_64-gcc" |
| 45 | 45 | echo ::endgroup:: |
| 46 | 46 | C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k" |
| 47 | − - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 | |
| 47 | + - uses: ilammy/msvc-dev-cmd@v1 | |
| 48 | 48 | with: |
| 49 | 49 | arch: amd64 |
| 50 | 50 | - name: build with MSVC (x86_64-win32) |
| @@ -61,7 +61,7 @@ jobs: · 10 unmodified lines | ||
| 61 | 61 | runs-on: windows-2025 |
| 62 | 62 | timeout-minutes: 6 |
| 63 | 63 | steps: |
| 64 | − - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 64 | + - uses: actions/checkout@v4 | |
| 65 | 65 | - name: make & test tcc (i386-win32) |
| 66 | 66 | shell: cmd |
| 67 | 67 | run: | |
| @@ -72,7 +72,7 @@ jobs: · 4 unmodified lines | ||
| 72 | 72 | C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-i686-gcc" |
| 73 | 73 | echo ::endgroup:: |
| 74 | 74 | C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k" |
| 75 | − - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0 | |
| 75 | + - uses: ilammy/msvc-dev-cmd@v1 | |
| 76 | 76 | with: |
| 77 | 77 | arch: x86 |
| 78 | 78 | - name: build with MSVC (i386-win32) |
| @@ -89,8 +89,8 @@ jobs: · 10 unmodified lines | ||
| 89 | 89 | runs-on: ubuntu-22.04 |
| 90 | 90 | timeout-minutes: 8 |
| 91 | 91 | steps: |
| 92 | − - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 93 | − - uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1 | |
| 92 | + - uses: actions/checkout@v4 | |
| 93 | + - uses: uraimo/run-on-arch-action@v3 | |
| 94 | 94 | name: make & test tcc (armv7-linux) |
| 95 | 95 | with: |
| 96 | 96 | arch: armv7 |
| @@ -107,8 +107,8 @@ jobs: · 10 unmodified lines | ||
| 107 | 107 | runs-on: ubuntu-22.04 |
| 108 | 108 | timeout-minutes: 8 |
| 109 | 109 | steps: |
| 110 | − - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 111 | − - uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1 | |
| 110 | + - uses: actions/checkout@v4 | |
| 111 | + - uses: uraimo/run-on-arch-action@v3 | |
| 112 | 112 | name: make & test tcc (aarch64-linux) |
| 113 | 113 | with: |
| 114 | 114 | arch: aarch64 |
| @@ -125,8 +125,8 @@ jobs: · 10 unmodified lines | ||
| 125 | 125 | runs-on: ubuntu-22.04 |
| 126 | 126 | timeout-minutes: 8 |
| 127 | 127 | steps: |
| 128 | − - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| 129 | − - uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1 | |
| 128 | + - uses: actions/checkout@v4 | |
| 129 | + - uses: uraimo/run-on-arch-action@v3 | |
| 130 | 130 | name: make & test tcc (riscv64-linux) |
| 131 | 131 | with: |
| 132 | 132 | arch: riscv64 |