Sync latest compiler pull requests
Merge pull request #2020 from bactrian/sync-prs-1399590001

Sync OCaml compiler PRs