GCC is written specifically to prevent this sort of firewalling of the compiler to prevent it from being plugged into another piece of software and avoid GPL requirements.
Even then there's always the analogue/human loophole I suppose, similar to captcha mechanical turks.