[clang] [clang][ExprConstant] Reject integral casts of addr-label-diffs... (PR #171437)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 10 09:46:14 PST 2025


https://github.com/efriedma-quic commented:

I don't know of any usage this limit would break, but gcc doesn't impose an equivalent limit, so there could be some code out there doing something weird.

Also, 32 is probably not a good limit for targets with 16-bit pointers, although this sort of construct should be rare on such targets.

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


More information about the cfe-commits mailing list