What if you compile GCC with LLVM and LLVM with GCC lol.
And compile GCC with GCC.
And LLVM with LLVM.
Phoronix: A GCC Proposal To Build It Better, Faster
There's a proposal within the GCC development camp to change the CFLAGS under which the GNU Compiler Collection is built when in a release mode...
http://www.phoronix.com/vr.php?view=MTEzOTA
What if you compile GCC with LLVM and LLVM with GCC lol.
And compile GCC with GCC.
And LLVM with LLVM.
And test programs compiled with the compilers that were created to show code size and general program performance comparisons. Maybe there are indeed differences when a compiler is built using another compiler
Aside: would be interesting to see how gcc would behave if built with LLVM instead
Michael, what do you think?
But will they also build it harder and stronger?
What's the point of it?
No one builds GCC using its default CFLAGS/CXXFLAGS.
"make profiledbuild" has been an option for ages.