[clang] [Clang] Add -fwrapv-pointer flag (PR #122486)

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 22 09:44:56 PST 2025


nico wrote:

We (chromium) turned on fwrapv due to the pointer changes, and it had a bit of a perf hit. We'd probably switch to this, hoping it'd address the perf issues at least some.

Matching gcc's behavior for -f flags both compilers have also makes sense, IMHO.

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


More information about the cfe-commits mailing list