Sync latest compiler pull requests
Merge pull request #3182 from bactrian/sync-prs-1418256001

Sync OCaml compiler PRs