================ @@ -0,0 +1,10 @@ +// RUN: %clangxx -DOP="0.0R / 0" -O3 -ffixed-point -fsanitize=fixed-point-divide-by-zero %s -o %t1 && %run %t1 2>&1 | FileCheck %s ---------------- PiJoules wrote:
Also I suspect maybe since the program continues after exiting the callback, we end up actually doing a divide by zero which just crashes the program or something like that, preventing any flushing of printing buffers which would print the diagnostic. So maybe `%env_ubsan_opts=halt_on_error=1 ` would help here. https://github.com/llvm/llvm-project/pull/165181 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
