[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 1 16:52:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70875
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Ah, you're right, the buffer overflow is nasty, even when we diagnose at
> runtime it is better not to let it continue into the actual UB. Will test
> following then:
>
> 2018-03-01 Jakub Jelinek <jakub@redhat.com>
>
> PR sanitizer/70875
> * gcc.dg/ubsan/bounds-3.c: Add -fno-sanitize-recover=bounds to
> dg-options and dg-shouldfail "ubsan" directive.
Works for me, thanks!
More information about the Gcc-bugs
mailing list