MaskRay wrote:

> Shouldn't plain `-fsanitize=undefined` disable this sanitizer by default 
> (requiring explicit opt-in)? In `-fwrapv` mode this is not undefined 
> behavior, so `-fsanitize=undefined` should not complain about it.

I was on the fence whether `-fsanitize=undefined` should expand to 
signed-integer-overflow: 
https://github.com/llvm/llvm-project/pull/80089#issuecomment-1945202620

Perhaps you have run into some convenience issues? #85501 for the 
signed-integer-overflow suppresion.

https://github.com/llvm/llvm-project/pull/82432
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to