Sync latest compiler pull requests
Merge pull request #1829 from bactrian/sync-prs-1395761484

Sync OCaml compiler PRs