Sync latest compiler pull requests
Merge pull request #1828 from bactrian/sync-prs-1395761386

Sync OCaml compiler PRs