3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-17 23:49:29 +00:00

Bump gcc and clang versions

This commit is contained in:
Miodrag Milanovic 2026-05-14 10:51:40 +02:00
parent 6d4e5f5ad0
commit 70b17181b4
2 changed files with 7 additions and 5 deletions

View file

@ -47,8 +47,8 @@ jobs:
- 'clang-14'
- 'gcc-11'
# newest, make sure to update maximum standard step to match
- 'clang-19'
- 'gcc-14'
- 'clang-22'
- 'gcc-15'
include:
# macOS x86
- os: macos-15-intel
@ -96,7 +96,7 @@ jobs:
# maximum standard, only on newest compilers
- name: Build C++26
if: ${{ matrix.compiler == 'clang-19' || matrix.compiler == 'gcc-14' }}
if: ${{ matrix.compiler == 'clang-19' || matrix.compiler == 'clang-22' || matrix.compiler == 'gcc-15' }}
shell: bash
run: |
make config-$CC_SHORT

View file

@ -804,8 +804,10 @@ std::string Fmt::render() const
buf += 'X';
else if (has_z)
buf += 'Z';
else
buf += (part.hex_upper ? "0123456789ABCDEF" : "0123456789abcdef")[subvalue.as_int()];
else {
const char *digits = part.hex_upper ? "0123456789ABCDEF" : "0123456789abcdef";
buf += digits[subvalue.as_int()];
}
}
} else if (part.base == 10) {
if (part.show_base)