It was beneficial to Linux, the open source and free software, as in GPL licensed, kernel.
It ws beneficial to its users.
It was beneficial to the free software movement.
It wasn't beneficial to corporations, probably.
> Who benefits from the Linux kernel not being able to be compiled by a certain compiler, and how?
Again: the fact that Linux was not being able to be compiled by a certain compiler doesn't seem to me it hindered its ability to become the most used platform in the server space (or one of the most used).
Any counter proof?
Apple started to use Clang because GPLv3 was stricter than GPLv2.
That's why you can compile Linux with Clang, because Apple did not want to use GCC anymore!
That was a feature back in the day.
It forced corporations to adapt to Linux, instead of the opposite.