Sync latest compiler pull requests
Merge pull request #3176 from bactrian/sync-prs-1418169601

Sync OCaml compiler PRs