https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69539
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Seems to be related to PR69254, either we should force in some flag_sanitize flag whenever we stream in IFN_UBSAN_* builtins (perhaps depending on which option that was), or throw away the IFN_UBSAN_* calls if corresponding flag_sanitize isn't enabled at LTO time.