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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It should match what the FE is doing, and it uses
  if (TREE_CODE (stmt) == INTEGER_CST
      && TYPE_REF_P (TREE_TYPE (stmt))
      && (flag_sanitize & (SANITIZE_NULL | SANITIZE_ALIGNMENT))
      && !wtd->no_sanitize_p)

Reply via email to