Merge branch 'sg/obstack-cast-function-type-fix'