Actually GCC has an explicit clause that GPL doesn't apply to the generated binary, otherwise you could not link to the C runtime library
"GCC Runtime Library Exception"
https://www.gnu.org/licenses/gcc-exception-3.1.en.html
This document was also the inspiration for the Classpath exception in OpenJDK.
Re:RISC-V on the Verge of Broad Adoption
by pertymcpert on Friday February 15, 2019 @01:02PM
(#19173113)
Right but that's because the compiler is emitting code into the binary that exists verbatim in the GCC source.
Which makes the assertion false, otherwise there wouldn't be a need for the "GCC Runtime Library Exception".
> "In the FOSS world the license of the compiler has nothing to do with the license of the compiled software".
Probably some leftover thinking from proprietary products that tried to apply license restrictions on the compiled output.