On Monday, 5 February 2018 at 23:42:18 UTC, welkam wrote:
There is PGO (Profile Guided Optimization) that can do that without additional language extensions. You need to find better example to support your claims.
It is sometimes impossible. Some parts of the Linux kernel cannot be profiled at all, for example. My claim is simple: you switch from gcc -> you lose this thing. I don't even care if it has actually mattered. I had a choice then, and now I don't. I have different choices now.