Sync latest compiler pull requests
Merge pull request #1862 from bactrian/sync-prs-1396652402

Sync OCaml compiler PRs