https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> --- Yes, that would be the best, to stay compatible with clang. Or is there some other way how to disable -fsanitize=float-divide-by-zero only for one function / block of code?