MaskRay wrote: > GCC folks have not answered. Adding -wrap keeps the behavior for -overflow > the same between GCC and Clang. Can we please move this forward and land it > as is? We can trivially change this in the future if we need to.
I believe we can move forward by reusing `-fsanitize=signed-integer-overflow`, which adds least complexity to Clang and is very reasonable. https://github.com/llvm/llvm-project/pull/80089 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits