Sync latest compiler pull requests
Merge pull request #3165 from bactrian/sync-prs-1417996801

Sync OCaml compiler PRs