Sadly, even if I’m moralistically in favor, there is so much insane computer science logic (and proprietary mechanisms) behind the process of compilation, especially on certain embedded systems where this issue comes up, that I doubt that could ever be pushed into law.