Sync latest compiler pull requests
Merge pull request #3005 from bactrian/sync-prs-1415059201

Sync OCaml compiler PRs