Sync latest compiler pull requests
Merge pull request #2994 from bactrian/sync-prs-1414886401

Sync OCaml compiler PRs