http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60275
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> --- Post script: CLANG has: '-fsanitize=undefined' not allowed with '-fsanitize-undefined-trap-on-error' And regarding the function call: With -fno-sanitize-recover one simply appends an "_abort" to the function call, i.e. __ubsan_handle_add_overflow becomes __ubsan_handle_add_overflow_abort. [For all functions but __ubsan_handle_builtin_unreachable and __ubsan_handle_missing_return, which always abort / Die() themselves.]