
Anders Magnusson's BSD-licensed pcc compiler
has been imported into NetBSD's pkgsrc and OpenBSD's src tree. Anders wrote to NetBSD's tech-toolchain list:
"It is not yet bug-free, but it can compile the i386 userspace. The big benefit of it is that it is fast, 5-10 times faster than gcc, while still producing reasonable code. The only optimization added so far is a multiple-register-class graph-coloring register allocator, which may be one of the best register allocators today. Conversion to SSA format is also implemented, but not yet the phi function. Not too difficult though, after that strength reduction is high on the list."
Member since:
2005-08-26
I'm not sure what you mean here. If you mean that GCC have to support old source, isn't it the case that old sources that compiled with 2.95 can't be compiled with a current version? Not the only case of GCC no longer supporting legacy sources.
If you mean GCC supporting features, there's plenty of stuff that has been removed from support over the years as well.
Aside from that, GCC is slow period. Even if you disable optimizations, it's painfully slow.
If trying to use the same main sources for all possible targets makes it slower for all, they really should split it up into target classes instead.