[clang] [Clang][CodeGen] Preserve alignment information for pointer arithmetics (PR #152575)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 13 11:12:18 PST 2026
vitalybuka wrote:
> CC @fmayer
>
> After this patch we have a change in Ubsan:
>
> before: https://godbolt.org/z/E1rG51cc1 after: https://godbolt.org/z/rj47nMbno gcc: https://godbolt.org/z/hxbaPhTrM
@efriedma-quic @dtcxzyw
I actually wanted to ask, should this still be detectable UB?
cc @thurstond
https://github.com/llvm/llvm-project/pull/152575
More information about the cfe-commits
mailing list