> The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public.
> The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community.
Modifications don't need to be shared back to the community if the software is used internally or behind a webserver.
As long as GCC is not distributed, this is a perfectly valid use case for GPL'd software.
Less abstract: Facebook famously has massive internal patches for MySQL, which is GPL'd. And of course, Google has massive internal patches for Linux kernel, which is also GPL'd.