[clang] [Clang] Fix integer promotion of bit-fields in statement expressions (PR #225597)

ahmed mohamed kamel via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 24 04:48:23 PDT 2026


AhmedKamel10 wrote:

> can you take a look at the failure on the bot? I’m pretty sure this is because the PS4 target the bot uses defaults to a different version of the C standard than the rest of the compiler.

Yes, confirmed. the test didn't pin -std=, so it fell back to the target's default (pre-C11 on that PS4 configuration), which is why _Static_assert/_Generic triggered pedantic warnings there. PR incoming shortly

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


More information about the cfe-commits mailing list