[Bug sanitizer/69656] -fsanitize=undefined compile time hog

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 4 14:28:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69656

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
grep call.*__ubsan_ gen_emitter_test.s | sort | uniq -c | sort -nr
  63814         call    __ubsan_handle_type_mismatch
  49332         call    __ubsan_handle_dynamic_type_cache_miss
    637         call    __ubsan_handle_nonnull_arg
    100         call    __ubsan_handle_load_invalid_value
     19         call    __ubsan_handle_sub_overflow
     15         call    __ubsan_handle_add_overflow

The clang++ I have around refuses to compile it, so can't compare the number of
instrumented spots with clang.


More information about the Gcc-bugs mailing list