On Tue, Jun 20, 2017 at 1:58 PM, Jason Merrill <ja...@redhat.com> wrote: > On Tue, Jun 20, 2017 at 11:50 AM, David Malcolm <dmalc...@redhat.com> wrote: >>> + ob->next_free = p + type_start + type_len; > > I'm uncomfortable with modifying the obstack directly. Why not use > obstack_free?
...because you aren't freeing the object, but shrinking it. So obstack_blank is a better choice. Jason