Sync latest compiler pull requests
Merge pull request #1843 from bactrian/sync-prs-1396051201

Sync OCaml compiler PRs