actually, code that uses gcc seems to require massive rewrite just to accommodate different versions of gcc. This has been a huge problem for 10 years in coreboot. We just have to deal with it. Just look at the recent Linux security hole attributed to a gcc optimization ...
Experience shows that the mods needed for plan 9 code for gcc can be less than the mods needed just to forward port code between different versions of gcc. It's quite amazing. ron