FreeBSD/contrib/gcc/tree-ssa-alias-warnings.c
/* Return false only the first time I see each instance of FUNC.  */
Return false only the first time I see each instance of FUNC.
Return false only the first time I see each instance of FUNC .
static bool
processed_func_p (tree func)
{
  static htab_t seen = NULL;
  void **slot;
  if (!seen)
    seen = htab_create (100, htab_hash_pointer, htab_eq_pointer, NULL);
  slot = htab_find_slot (seen, func, INSERT);
  gcc_assert (slot);
  if (*slot)
    return true;
  *slot = func;
  return false;
}
static bool processed_func_p ( tree func ) { static htab_t seen = NULL ; void * * slot ; if ( ! seen ) seen = htab_create ( 100 , htab_hash_pointer , htab_eq_pointer , NULL ) ; slot = htab_find_slot ( seen , func , INSERT ) ; gcc_assert ( slot ) ; if ( * slot ) return true ; * slot = func ; return false ; }
Return false only the first time I see each instance of FUNC.
Return false only the first time I see each instance of FUNC .