prelim_ref_compare
return prelim_ref_compare(ref_exist, ref_new);
result = prelim_ref_compare(ref, &target);