Sync latest compiler pull requests
Merge pull request #2979 from bactrian/sync-prs-1414713601

Sync OCaml compiler PRs