Sync latest compiler pull requests
Merge pull request #2366 from bactrian/sync-prs-1405638001

Sync OCaml compiler PRs