[llvm-branch-commits] [clang] release/20.x: [CSKY] Default to unsigned char (PR #126436)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 21 14:09:07 PST 2025


arichardson wrote:

> @arichardson (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

Prior to Clang 20, the CSKY target used an incorrect ABI with `char` being signed instead of unsigned. Code that relies on the incorrect definition can restore the old behavior by passing `-fsigned-char`.



https://github.com/llvm/llvm-project/pull/126436


More information about the llvm-branch-commits mailing list