FreeBSD/contrib/gcc/c-common.c
/* Add duplicates of the nodes found in ADD to the list *TO.  If EXCLUDE_WRITER
   is nonnull, we ignore any node we find which has a writer equal to it.  */
Add duplicates of the nodes found in ADD to the list *TO.  If EXCLUDE_WRITER
is nonnull, we ignore any node we find which has a writer equal to it.
Add duplicates of the nodes found in ADD to the list * TO . If EXCLUDE_WRITER is nonnull we ignore any node we find which has a writer equal to it .
static void
add_tlist (struct tlist **to, struct tlist *add, tree exclude_writer, int copy)
{
  while (add)
    {
      struct tlist *next = add->next;
      if (!copy)
	add->next = *to;
      if (!exclude_writer || add->writer != exclude_writer)
	*to = copy ? new_tlist (*to, add->expr, add->writer) : add;
      add = next;
    }
}
static void add_tlist ( struct tlist * * to , struct tlist * add , tree exclude_writer , int copy ) { while ( add ) { struct tlist * next = add -> next ; if ( ! copy ) add -> next = * to ; if ( ! exclude_writer || add -> writer != exclude_writer ) * to = copy ? new_tlist ( * to , add -> expr , add -> writer ) : add ; add = next ; } }
Add duplicates of the nodes found in ADD to the list *TO.
Add duplicates of the nodes found in ADD to the list * TO .