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

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
typedef int caml_domain_state;
thread_local caml_domain_state caml_state;
void
caml_empty_mark_stack ()
{
  while (caml_state)
    caml_state = 0;
}

Reply via email to