Sync latest compiler pull requests
Merge pull request #2024 from bactrian/sync-prs-1399676401

Sync OCaml compiler PRs